Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: osiris9510 on December 12, 2005, 07:02:56 PM

Title: cron not working, or doing anything for that matter!
Post by: osiris9510 on December 12, 2005, 07:02:56 PM
what do you have to do to get cron to work?

Ive added the entries in the cron "table" by using the -e switch, etc.  Do i have to start cron manually? and, are the cron jobs over-written/wiped out after a reboot?

also, where are the system startup scripts? and are they over-written/wiped out too?
Title: Re: cron not working, or doing anything for that matter!
Post by: CharlieBrady on December 12, 2005, 07:47:02 PM
Quote from: "osiris9510"
what do you have to do to get cron to work?


Nothing - it's already working.
Title: cron not working, or doing anything for that matter!
Post by: osiris9510 on December 12, 2005, 07:48:59 PM
ok very well.

how do I add jobs to this? I thought I did but nothing is happening.

All Im doing to test is the "cal" command. im trying to do this thru ssh, im logged in as root and I set up the cron job as root. the output from cal should show up via ssh, right?
Title: cron not working, or doing anything for that matter!
Post by: CharlieBrady on December 12, 2005, 07:51:04 PM
Quote from: "osiris9510"
ok very well.

how do I add jobs to this? I thought I did but nothing is happening.

All Im doing to test is the "cal" command. im trying to do this thru ssh, im logged in as root and I set up the cron job as root. the output from cal should show up via ssh, right?


Check the admin mailbox. Output should be there.
Title: cron not working, or doing anything for that matter!
Post by: osiris9510 on December 12, 2005, 08:21:58 PM
no output from this.

any good cron pages out there for e-smith?
Title: cron not working, or doing anything for that matter!
Post by: CharlieBrady on December 12, 2005, 11:46:59 PM
Quote from: "osiris9510"

any good cron pages out there for e-smith?


It's the same as any other cron, except that /etc/crontab is templated.