Re: create cron in FC5 question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2007/4/20, Tom Poe <tompoe@xxxxxxxx>:
I googled for cron howto, and noticed that the /etc/crontab file is
empty.  I want to run an event on a daily basis, and need to know where
to add, and how to add an event to run jpodcatcher once a day.  Any help
appreciated.
Tom

First off, if you want it to run in the system cron, just
/etc/crontab, on the other hand if you want it as an user cron, just:
crontab -e
Anyways, this is an example of a basic job running daily at, for
instance, 11:00 AM

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
00 11 * * * root /home/manu/babelserver.sh

got it?

You might want to read the Crontab manual.

Hope this helps
All the best.

Manuel.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux