Welcome to WebmasterWorld Guest from 54.167.5.15

Forum Moderators: open

Message Too Old, No Replies

mysql cron job

how

     

dbarasuk

7:59 am on Nov 23, 2009 (gmt 0)

5+ Year Member



dear,
I would like mysql server perfom backups every day at noon.

How do I configure that offline on my computer? Is that possible for a hosted database too (for my hosted website)
kind regards

whoisgregg

6:50 pm on Nov 23, 2009 (gmt 0)

WebmasterWorld Senior Member whoisgregg is a WebmasterWorld Top Contributor of All Time 10+ Year Member



As far as I know, MySQL doesn't have built-in cron jobs. If you are on a *nix type system, look into the "crontab" program to schedule tasks.

For web hosting, you have to check with them to see if they support that. Most hosting control panels have a section just for cron jobs and it's pretty easy to configure them (once you know what command you want to run).

ulk26

9:52 am on Dec 2, 2009 (gmt 0)

5+ Year Member



I would like to know how to do this aswell, i would like a dump of the database to be emailed to be once per day. Any ideas?

dbarasuk

12:02 pm on Dec 5, 2009 (gmt 0)

5+ Year Member



hi,
I am on windows NT and i run mysql 5.1.33. I really dont know how to see if there is that cron job option. By the way, assuming the cron job on my windows machine is possible, can that cron job be executed when i am off my work and the computer turned off?
regards.

gacba

8:53 pm on Dec 15, 2009 (gmt 0)

5+ Year Member



There are other options, folks.

There's a number of online cron replacement services out there. If you're on free web hosting and don't have access to cron, or are on a local machine but don't want to leave it on all the time, this is a GREAT option.

[edited by: tedster at 9:56 pm (utc) on Dec. 15, 2009]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month