Jump to content

Cron Jobs For Dummies


Recommended Posts

I have some flatfile databases in my cgi-bin and would like to setup a cron job to run nightly to back them up. What would be the best way to do this, and could someone explain it in newbie terms? I looked at a few articles but they were mostly for experienced unix people (not I said the Pig) and the one I did find that might have helped me seemed like it would only work for a MySql database. and mine is flat file.

 

Thanks!

Link to comment
Share on other sites

  • 6 months later...

I'm impatient so I violated the Forum Guidelines: Family Members may not bump threads.. :D

 

Sorry, didn't mean to "bring this thread to the top" but I was just wondering if anybody could help since there were no answers to this in several months. I wasn't really being impatient, honest! :clapping:

Link to comment
Share on other sites

Where do you want these backed up to? Another folder within your domain?

 

A cron job is simply a way of automating a task. You would need to develop a script in Perl, PHP or any other scripting language supported on the server (Perl and PHP are). Put the script on the server and set up the cron job to run it.

Link to comment
Share on other sites

LOL Wow! I didn't know there were so many options!

 

Basically, I just need some folders in my cgi-bin backed up. So incase I have a crash or something else, I can reupload the most recent version. So, have them put in another folder I guess. Ok, boy, let me think about this and do some more research. Thanks!

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

 Share

×
×
  • Create New...