Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Cron job help needed, Update a db file
tim_ver
post Jun 6 2006, 10:03 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 14-October 04
Member No.: 3,953



I have a website I am putting together and it has a mysql db. I need to upload a text file of data to the website to update it with the latest info. I have tried with a normal upload but the hoster will not allow me to do this so I need to do a cron job and upload the file to a folder on the ftp. Can anyone please help me out on what commands to use to achive this.

Thanks much.

smile.gif
Go to the top of the page
 
+Quote Post
markjr
post Jun 7 2006, 08:03 AM
Post #2


./configure
***

Group: Admin
Posts: 62
Joined: 9-February 06
Member No.: 6,054



Normally I would just try to use scp out of cron but if the host is insisting on ftp there are ways to automate logins, and define macros with ftp using a .netrc file in your homedir. Take a look at the man pages on your system for netrc.
Go to the top of the page
 
+Quote Post
tim_ver
post Jun 7 2006, 05:57 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 14-October 04
Member No.: 3,953



Ok, what is a scp? man pages?

Thanks
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 12:57 AM