Jump to content

Archived

This topic is now archived and is closed to further replies.

dayzeday

"Cron" & MySQL Help

Recommended Posts

I am needing to retreave a file from another website and insert the text into my database (MYSQL). I know that I need to use "CRON" to do this but I have no clue where to start. Can any one help me with this or point me to a tutorial.

Thanks

Share this post


Link to post
Share on other sites
You only need a CRON per se if this a regular, schedule pull. Otherwise, a one-off script can handle this easily.

Share this post


Link to post
Share on other sites
[!--quoteo(post=370301:date=May 1 2006, 11:09 AM:name=fenway)--][div class=\'quotetop\']QUOTE(fenway @ May 1 2006, 11:09 AM) [snapback]370301[/snapback][/div][div class=\'quotemain\'][!--quotec--]
You only need a CRON per se if this a regular, schedule pull. Otherwise, a one-off script can handle this easily.
[/quote]

I am not sure what you are talking about. I have not used CRON yet. Which I now I need to learn it but i have yet to have time. It seems I get forced in to learning things when I have to. Maybe you can direct me to good tutorital or explain what u mean a little more. I do catch on pretty fast.

FYI: yes, i will be retrieving the file on a regular base at the same date and time each day or week.

Thanks

Share this post


Link to post
Share on other sites
There are many tutorials on using CRON jobs -- the problem is that using PHP with CRON is, for some unknown reason, very complicated. I can't think of any good tutorials off-hand, though. Basically, your script does whatever it would normally do, and the CRON is simply a scheduling agent.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.