Help - Search - Members - Calendar
Full Version: Cron job help needed
Linuxhelp > Support > Technical Support
tim_ver
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
markjr
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.
tim_ver
Ok, what is a scp? man pages?

Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.