Jump to content

"Cron" & MySQL Help


dayzeday

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
Link to comment
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
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.