Show all the users and their respective cronjobs
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
Showing posts with label cron. Show all posts
Showing posts with label cron. Show all posts
Wednesday, July 8, 2015
Friday, November 15, 2013
Munin not generating graphs - Make sure CRON job is running
I am currently using Ubuntu 12.04 on EC2.
If your munin master is not running, you should check if munin is set up as a CRON job.
List all the scheduled cron jobs:
If your munin master is not running, you should check if munin is set up as a CRON job.
List all the scheduled cron jobs:
crontab -lIf munin-cron is not set up, we will add it. Edit the crontab file
crontab -eLet's make munin master run every 5 mins. Append the following to the end of the file
*/5 * * * * /usr/bin/munin-cronLet's make munin run.
sudo -u munin munin-cron
Subscribe to:
Posts (Atom)