Anacron can be used to execute commands periodically, with a frequency specified in days.
0
votes
1answer
166 views
Ubuntu 13.04 near-fresh install: 'ps aux' gets stuck on anacron
I've just finished an install of Ubuntu 13.04 onto a brand new PC, and noticed that executing 'ps aux' in a terminal causes it to hang half-way through displaying a list of the processes:
$ ps aux
...
0
votes
1answer
15 views
How to fix anacron & cups-pdf when you have /var on tempfs
I have a ssd drive in my laptop and I followed various advice that said to put /var/log /var/spool & /var/cache on a tmpfs so that the constant read/writes wouldn't lessen the life of my ssd.
...
1
vote
1answer
36 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 ...
2
votes
0answers
108 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, ...
3
votes
1answer
70 views
How can I run anacron in user mode?
I would like to set up a scheduled task via anacron but I would like to do so in user mode. How can I achieve this?
1
vote
2answers
79 views
gsettings and anacron
I wrote a script to change my desktop background. I want this script to run on anacron because I often turn my computer off at night. I've tested parts of the script, and I think the problem is with ...
0
votes
0answers
44 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 ...
2
votes
2answers
44 views
How can I run a job yearly with anacron?
I'd like to use anacron to run a job annually. I see only daily, weekly, and monthly configuration for anacron. Is there a way to run a job once per year?
0
votes
1answer
192 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 ...
1
vote
1answer
374 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 ...

