Help - Search - Members - Calendar
Full Version: Cron job help needed
Linuxhelp > Support > Technical Support
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.

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.
Ok, what is a scp? man pages?

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-2018 Invision Power Services, Inc.