Linked Questions

1
vote
1answer
1k views

Where is my cronlog? [duplicate]

Possible Duplicate: Where is the cron / crontab log? While trying to Google this a lot of sources claims there's a cron log in /var/log but I have none. I'm fairly convinced cron has run and I ...
1
vote
1answer
1k views

Where do I look for cron errors [duplicate]

I have 2 cron jobs that were running fine but now stopped running. I looked through my crontab and everything looks OK. How can I tell if these jobs are running? is there a place where cron stores ...
0
votes
1answer
64 views

Where can I find the output log from a custom crontab task [duplicate]

I configured a regular task me@alpha:~$ crontab -l | grep '^\*' */5 * * * * (cd ~/Documents/OrgMode; git add .; git commit -m "defensively save") It works but I cannot find the log in mail.log me@...
0
votes
0answers
31 views

Where is the error log of cron jobs [duplicate]

I scheduled the following cronjobs #Backup the emacs configuration file */15 * * * * (cd /home/me/.emacs.d/; git add .; git commit -m "Defensively Backup") */30 * * * * ( cd /home/me/.emacs.d/; ...
8
votes
3answers
32k views

Running a script everyday using a cronjob

I need the exact code that I would use because I'm not able to figure it out. I use crontab -e to set up a cron job but when I save it, it never works. I'm also just trying to run a file called ...
3
votes
2answers
10k views

16.04: How do I make cron create cron.log and monitor it in real time?

I know that cron events are stored in /var/log/syslog and I can use a command like: sudo cat /var/log/syslog | grep cron to see them. I'd much rather have the system keep a separate cron log file ...
6
votes
2answers
25k views

How to detect error in cron jobs

The reasons why a cron job may fail is really very large. Most common reasons may be, Syntax error Using executable without proper path Using a shell variable which is not defined in cron ...
3
votes
2answers
5k views

How to see full cron log (Not of just 1 day or less)?

I want see all the jobs that has been scheduled by using cron for the last 1 week (or certain specified time). I used the command sudo grep CRON /var/log/syslog But it only shows the log for 1 day. ...
0
votes
2answers
2k views

Custom Daily and Weekly Cron Jobs Not Running [duplicate]

I created a script to back up my databases and my websites. It runs fine if I run it straight up but it's not running at all as a cron job. I created a symbolic link to the script: lrwxrwxrwx 1 root ...
1
vote
1answer
2k views

How to change cron log level?

I replaced exec cron with exec cron -L 15 the run sudo service cron reload, sudo service cron restart but nothing changed. Cron doesn't log the end of jobs and doesn't log failed jobs. I hade no ...
1
vote
1answer
984 views

How do I run a Supervisor task from cron.hourly?

I have a task defined in Supervisor that I would like to invoke hourly from /etc/cron.hourly. I can run it manually, but not from run-parts: $ sudo supervisorctl start my-task -- works # . /etc/cron....
0
votes
0answers
618 views

Git Pull and then Push via Cron in Ubuntu

I am in a git enterprise environment and there is a git repo where I pull the whole code, build it using gulp.js and then copy the distribution to another repo, where I push it to remote. I have ...
0
votes
2answers
470 views

MySQL dump script runs manually but not via cron

I have the following script in /etc/cron.daily/, it works perfectly if I execute it manually but never runs via cron. There are other scripts in cron.daily that do execute however. #!/bin/bash DATE=`...
1
vote
1answer
363 views

Can't run Sikulix 1.1.0 on Ubuntu 15.10 with crontab

I try to run a Sikulix script but nothing happens. crontab: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/absolute MAILTO="" # m h dom mon dow user command ...