[vox-tech] crontab

Tony Cratz cratz at hematite.com
Sun Sep 6 17:20:02 PDT 2009


Hai Yi wrote:
> this might be too simple a question to ask, however i am doing it anyway.
> 
> i want to run a cron job to back up the dump files from my database
> tables on a weekly basis. I've never set a cron job before. So by
> following the "goolge-search" result, I did these:
> 
> I create a text file and add a line to set time, date and my script,
> name the file "cronjob.txt"
> 59 23 * * * /home/hai/Scripts/backup.sh
> 
> from CLI: crontab cronjob.txt
> confirm the job: crontab -l
> 
> then I sat tight waiting for the magic moment. Nothing happened.
> 
> I must have missed something, what is it?
> 
> I am using ubuntu 8.10, and I test the script manually, it works fine.


	Many years ago when I use to do UUCP support for Netcom the
	first question we always asked was:

		What do your logs show?

	Followed up often times by:

		You have read your logs correct?


	So with those questions now asked, what do your logs show?



							Tony


More information about the vox-tech mailing list