cron

Hi all,

I am trying to get cron running on 6.3.0. I added file called root in /var/spool/cron/crontabs and added a few lines to that file. The lines I added are the same as in the manual. Maybe i am doing something wrong but it looks like it does not work. I also changed the minutes to 0-59 to have something performed every minute. This doesn’t seem to work too.

Are there any pitfalls using cron? I read something on “audreyhack” that the QNX cron was not working properly.

Looking forward to a response.

TIA,
Freddy

Never mind, the error was between keyboard and chair.

It is working on one system and not on the other. I need to find out why.

Freddy

hi,

what i find that cron works for root but not for other users.
I started crond with
/usr/sbin/cron & at rc.local

also edited /etc/cron.allow file (if needed), but it does not help. On my system cron works just for root. Is this a normal behaviour?

Seems I solved the mistery.

Cron requires valid user with shadow record etc.
passwd record is not enough.

in rc.local , cron & is add . and /var/spool/cron/crontabs/root file is like this : 30 * * * * ntpdate 192.168.9.19. ntpdate seems doesn’t work. if i manually execute ntpdate 192.168.9.19, ntpdate works. who can help me, 3x.

my os is 6.3.0