Hey there. I've been struggling to get a CRON job setup to download a CSV file on a daily basis. I know the CRON syntax, that's not the problem, I just need to figure out what command to use to make the file download to a specific directory on my server. I'm pretty rusty on my Linux and I'm struggling. Any tips or advice?
I've done something similar (I wasn't storing the database on the server) but I just cheated, wrote a script in PHP to handle everything and then called that script using a cron job. I know you said you are familiar with setting up a cron job but if you are interested I wrote an overview on my blog - Using cron with PHP
lol. I'm an idiot. A PHP script would be the way to go, and the CRON job for that I could write in my sleep. Thanks for the inspiration. Nice blog post too. Very in depth, and a perfect starting point for those new to CRON jobs. Thanks!
hi , Today I called to my host and they tell me that we have not support Cron job and I can Download it and Upload on my FTP . Do you have a Url or site that I can Download it ? thx
Unless you have a vps or a dedicated server I don't know of a way to install the cron daemon. There are ways that you can simulate cron but it is messy and can cause slow page loads for your users. As a sidenote, the bold next really isn't necessary.