Koozali.org: home of the SME Server

cron not working, or doing anything for that matter!

osiris9510

cron not working, or doing anything for that matter!
« 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?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: cron not working, or doing anything for that matter!
« Reply #1 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.

osiris9510

cron not working, or doing anything for that matter!
« Reply #2 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?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
cron not working, or doing anything for that matter!
« Reply #3 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.

osiris9510

cron not working, or doing anything for that matter!
« Reply #4 on: December 12, 2005, 08:21:58 PM »
no output from this.

any good cron pages out there for e-smith?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
cron not working, or doing anything for that matter!
« Reply #5 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.