Thursday, August 30, 2007

::crontab::

[22:23] * DigitallyBorn (~ricky@72.236.65.199) has joined #linux
-
DigitallyBorn is ~ricky@72.236.65.199 * ricky
DigitallyBorn on #linux #C#
DigitallyBorn using punch.va.us.dal.net Experience comes from bad judgement.
DigitallyBorn End of /WHOIS list.
-
[22:23] I'm having problems with a cronjob being run .. does cron keep a log file I can view?
[22:24] * The_Machine (~The_Machi@65.91.185.36) has joined #linux
[22:24] crontab -l
[22:25] <@KeyLimePirate> keep: No, he asked for a log file
[22:25] <@KeyLimePirate> /var/log/cron
[22:25] oh thanks
[22:25] <@Enchanter_tim> /var/log/messages or /var/log/cron
[22:26] <@Enchanter_tim> or even /var/log/*cron (different crons can have different logs)
[22:26] yeah .. it doesn't look like it's runnin
[22:26] .. I created the crontab as my user, should I create it as root?
[22:26] .. I kind of assumed that it would run all users' crontabs
[22:27] * pcrack (~pcrack@122.53.134.47) Quit (Read error: Connection reset by peer)
[22:28] DigitallyBorn, no shouldn't be root unelss it needs to me
[22:28] user can create their own crontab
[22:29] yeah .. and I created it as a user
[22:29] if they are in cron.allow
[22:29] DigitallyBorn, the only things that should be run as root are things that must
[22:29] Cancel: Yeah .. I got that as a general rule of thumb ..
[22:29] DigitallyBorn, no different for cron jobs

http://pastebin.ca/675830

No comments:

// stats


afraid.org / freedns.afraid.org