0
votes
0answers
19 views

Why cron.weekly started apt-xapian-index at 11AM instead of between 2-4AM?

I have redifined staring hours in /etc/anacrontab and /etc/crontab like following: --- my changes: 17 * * * * root cd / && nice run-parts --report /etc/cron.hourly 25 3 * * * ...
0
votes
0answers
12 views

Anacron and suspend

Does an cron task, that is run with anacron run even when my system is suspended? I know that anacron will run a job regardless of whether my system is on or off, but I thought that the jobs get ...
1
vote
1answer
1k views

Why my weekly anacron job is not executed?

I'd like to use anacron for a weekly job on Ubuntu 13.04. Here's my /etc/crontab: # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to ...
0
votes
2answers
942 views

Run Cronjob every night between 3-6 o clock but only once

I want to run a cronjob daily at a specific time range but only once in that period. How is that possible? I see a possibility in anacrhon but don't know how to set up such scenario.
0
votes
1answer
285 views

Ubuntu 12.04 how to completely remove anacron

I am using Ubuntu 12.04 for an embedded project. I need cron jobs to execute only at their specified time, because time may be stepped forwards (resulting in a missed job) but those jobs should be ...
4
votes
1answer
1k views

Disable daily anacron mail updates

Every day, I get the following mail delivered by postfix: From: Anacron <root@name.domain> To: root@name.domain Subject: Anacron job 'cron.daily' on name Content-Type: text/plain; ...
0
votes
1answer
306 views

Why anacron does not call the crontab user files?

I want a special command to be lauched everyday, but dont want to put it in the /etc/cron.d/ because its a user specific user! pg@pipoTower: ~$ crontab -l # m h dom mon dow command 0 0 * * * ...
1
vote
1answer
85 views

How to prevent automatic apt-get operations from running for a while?

In a production context, we run scripts to configure/customize the OS. It makes intensive use of apt-get (to install, remove, update, upgrade packages). Unfortunately it happens (especially just ...
3
votes
1answer
244 views

Cannot get gsettings set to work at boot using cron, rc.local, or autostart

I am trying to "lock down" the computer by running a script at boot that turns lock on, lock screen after 10 min and require password, etc. I am using Ubuntu 12.04 I have tried editing crontab, ...
1
vote
0answers
110 views

How to trigger anacron start if USB drive connected

There is a script in /usr/lib/pm-utils/power.d/anacron which restarts anacron if leptops are connected to power. Is it possible to have a similar script restart anacron if (a certain) USB-drive is ...
0
votes
1answer
346 views

setting up anacron for version control update

I store some of my configuration files in version control. Recently I tried to setup a daily anacron job so that I won't have to manually update the files. I have never used cron or anacron before but ...
2
votes
1answer
958 views

How to check when was the last time anacron successfully run?

How can I check when was the last time anacron completed all the daily/weekly/monthly jobs? I understand that the timestamps at /var/spool/anacron are the times anacron started, but it can be that the ...