Quantcast
Channel: Why crontab scripts are not working? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 48

Answer by John Peterson for Why crontab scripts are not working?

$
0
0

Insecure cron table permission

A cron table is rejected if its permission is insecure

sudo service cron restartgrep -i cron /var/log/syslog|tail -22013-02-05T03:47:49.283841+01:00 ubuntu cron[49906]: (user) INSECURE MODE (mode 0600 expected) (crontabs/user)

The problem is solved with

# correct permissionsudo chmod 600 /var/spool/cron/crontabs/user# signal crond to reload the filesudo touch /var/spool/cron/crontabs

Viewing all articles
Browse latest Browse all 48

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>