fwiw
some places may also recommend 'crontab -e' which will spin you off
into an editor to edit your users crontab file.
user crontab's are totally handy, but do tend to be forgotten
(by myself at least) when searching for why something funny is
going on.
for your shutdown situation, i agree with simon on putting
it into /etc/crontab
Dean
Simon Bowden wrote:
No, it must be crontab.
cron.daily is for generic "make sure it runs at least once a day", with
no specific time.
crontab is where the crontab(8) format entries with specific times and
users etc live.
Cheers,
- Simon
On Mon, 14 Aug 2006, Dean Hamstead wrote:
cron.daily is run from crontab, either will be ok
Dean
bill wrote:
I have mythdora ( Redhat FC4 based) running more or less - at least t
the degree that I can record TV programs.
I want to auto-shutdown the PC after recording has finished.
Googling gives plenty of links/info, which often is contradictory.
Basically, I believe that I need to put an entry such as
00 20 14 08 mon root /sbin/shutdown -h now
(to shutdown the PC at 10PM this evening - 20/08/06)
in EITHER:-
/etc/crontab
or
/etc/cron.daily
Which is correct please?
Thanks
Bill
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html