l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2009 Sep 08 23:04

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Fwd: crontab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Fwd: crontab

In case it's of interest, I find that gnome-schedule is an easy to use GUI for scheduling cron jobs / automatic tasks. 


On Mon, Sep 7, 2009 at 3:04 AM, Ken Bloom <kbloom@gmail.com> wrote:
On Sun, 2009-09-06 at 20:23 -0400, Hai Yi wrote:
> On Sun, Sep 6, 2009 at 8:20 PM, Tony Cratz<cratz@hematite.com> wrote:
> > 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.
> >
> >                What do your logs show?
> >                You have read your logs correct?
> kind of embarrassment, where to look?

Cron emails you the output from any cronjobs that produced output
(including errors). Depending on your mail configuration, you'll find
the mails in /var/spool/mail/$USER, and you can check them with the mail
command or using mutt.

(If mutt is configured already for checking other mail, make sure that
your .muttrc has a mailboxes line with the path to your local mail spool
in it. Then you can use mutt -y to view your mail.)

vox-tech mailing list

Carl Boettiger
Population Biology, UC Davis
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!