Koozali.org: home of the SME Server

Crontab does not run extensions

Offline fpcomputers

  • 8
  • +0/-0
    • http://www.fpcomputers.biz
Crontab does not run extensions
« on: February 18, 2006, 02:11:52 PM »
I've made in the templates a file that automatically download mail from another server and set the time in the normal way as used in version 6.x
When i expand the template with /sbin/e-smith/expand-template /etc/crontab the extension is added to the crontab file.

Either it does not execute from the crontab.
When executing from the command prompt, it's working OK.

I also test it with a rsync backup via the crontab and it's also not executing.
From the command prompt it's working fine.

Has anyone a solution, or is it just a bug?

Fred Wormsbecher
...

Offline mdo

  • *
  • 355
  • +0/-0
Crontab does not run extensions
« Reply #1 on: February 18, 2006, 11:00:50 PM »
Fred,

did you restart the cron daemon after your changes?

/etc/rc7.d/S40crond restart

Michael
...

Offline fpcomputers

  • 8
  • +0/-0
    • http://www.fpcomputers.biz
My crontab
« Reply #2 on: February 20, 2006, 07:48:36 AM »
No. I didn't restart the cron.
Stupid from my side, restart and it works fine.
Thanks in advance.

Fred
...