cron

/etc/crontab

The syntax of configuration files differs between different implementations of cron.

vixie-cron expects a username in column 6 of /etc/crontab and /etc/cron.d/*.

dcron doesn't expect a username in column 6, but the command to be executed...

Packages like sysstat may write crontab files to /etc/cron.d,..

https://linux.overshoot.tv/wiki/cron

crond: PAM adding faulty module: /lib64/security/pam_unix.so

Sample error log in /var/log/messages:


Oct 28 09:15:01 gentoo-host crond[16678]: PAM adding faulty module: /lib64/security/pam_unix.so
Oct 28 09:15:01 gentoo-host crond[16677]: (user) PAM ERROR (Module is unknown)
Oct 28 09:15:01 gentoo-host crond[16677]: (user) FAILED to authorize user with PAM (Module is unknown)
Oct 28 09:15:01 gentoo-host crond[16678]: (user) PAM ERROR (Module is unknown)
Oct 28 09:15:01 gentoo-host crond[16678]: (user) FAILED to authorize user with PAM (Module is unknown)

cron

* kde-apps/kcron
Description: KDE Task Scheduler

https://linux.overshoot.tv/etc/crontab

/etc/cron.*/
/var/spool/cron/crontabs/
etc.

Service

Check is the cron deamon is properly activated:

rc-update show --verbose | grep cron
               cronie |      default                 

If necessary, add it:
# rc-update add cronie default
* service cronie added to runlevel default

# rc-service cronie start
* Starting cronie ...

# rc-service cronie status
* status: started

Logs

Syndicate content