In case it's of interest, I find that gnome-schedule is an easy to use GUI for scheduling cron jobs / automatic tasks. <br><br>-Carl<br><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 3:04 AM, Ken Bloom <span dir="ltr"><<a href="mailto:kbloom@gmail.com">kbloom@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sun, 2009-09-06 at 20:23 -0400, Hai Yi wrote:<br>
><br>
> On Sun, Sep 6, 2009 at 8:20 PM, Tony Cratz<<a href="mailto:cratz@hematite.com">cratz@hematite.com</a>> wrote:<br>
> > Hai Yi wrote:<br>
> >> this might be too simple a question to ask, however i am doing it anyway.<br>
> >><br>
> >> i want to run a cron job to back up the dump files from my database<br>
> >> tables on a weekly basis. I've never set a cron job before. So by<br>
> >> following the "goolge-search" result, I did these:<br>
> >><br>
> >> I create a text file and add a line to set time, date and my script,<br>
> >> name the file "cronjob.txt"<br>
> >> 59 23 * * * /home/hai/Scripts/backup.sh<br>
> >><br>
> >> from CLI: crontab cronjob.txt<br>
> >> confirm the job: crontab -l<br>
> >><br>
> >> then I sat tight waiting for the magic moment. Nothing happened.<br>
> ><br>
</div><div class="im">> > What do your logs show?<br>
</div><div class="im">> > You have read your logs correct?<br>
</div><div class="im">> kind of embarrassment, where to look?<br>
><br>
<br>
</div>Cron emails you the output from any cronjobs that produced output<br>
(including errors). Depending on your mail configuration, you'll find<br>
the mails in /var/spool/mail/$USER, and you can check them with the mail<br>
command or using mutt.<br>
<br>
(If mutt is configured already for checking other mail, make sure that<br>
your .muttrc has a mailboxes line with the path to your local mail spool<br>
in it. Then you can use mutt -y to view your mail.)<br>
<font color="#888888"><br>
--Ken<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Carl Boettiger<br>Population Biology, UC Davis<br><a href="http://two.ucdavis.edu/~cboettig">http://two.ucdavis.edu/~cboettig</a><br>