Back in time not being run by cron
Hi,
I have installed back in time ( http://
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (- installed on Thu May 13 18:56:13 2010)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
@daily nice -n 19 /usr/bin/backintime --backup-job >/dev/null 2>&1
I have tried it as a generic user, and as root. But it does not do daily backups.
Currently I have it set up as root doing hte backups.
If I "sudo su root" and then run the command "nice -n 19 /usr/bin/backintime --backup-job" it works. But if I just do "sudo nice -n 19 /usr/bin/backintime --backup-job " it fails saying "WARNING: Can't find snapshots folder !"
In syslog I have these lines:
May 15 08:23:57 black-tower anacron[1363]: Will run job `cron.daily' in 5 min.
May 15 08:23:57 black-tower anacron[1363]: Jobs will be executed sequentially
May 15 08:28:53 black-tower anacron[1363]: Job `cron.daily' started
May 15 08:28:53 black-tower anacron[1726]: Updated timestamp for job `cron.daily' to 2010-05-15
I would have expected root's cron jobs to be run as root? So what else could be causing it to fail? Is root's crontab even being processed?
Running Lucid 64 bit.
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu cron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask rob_brown-bayliss for more information if necessary.