Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

realityisterror

macrumors 65816
Original poster
Aug 30, 2003
1,354
1
Snellville, GA
I don't really know much about cron other than what it can do, so I'm gonna need a decent bit of help. I'm turning to the MR crew first, so don't let me down :cool:

Basically, I want a crontab to run at 3am everyday that will do:

mysqldump -u arminv -p password arminvblog | gzip > /arminvosough.com/private/dbbackup_`date +%m%d%y`.gz

that. I'm not sure if I can just put that into a .txt file or if it needs to be a Perl script. I'm hoping you guys can help me out with that as Googling isn't really helping out...

Also, if there's anything wrong with my little "script" that would prevent it from working the way I want it to, could you let me know?

Thanks,
reality
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.