Anacron fails in virtual machines like VMWare
Bug #237303 reported by
Frank Breitling
This bug report is a duplicate of:
Bug #411796: anacron does not execute cron.daily jobs if system is suspended between 6 and 8 am.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
anacron (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am running Ubuntu 8.04 (Hardy) in VMWare on MS Windows, since suspend to RAM is broken for HP nc6120 laptops (https:/
However, now anacron is not executed by the Ubuntu resume scripts any more and therefore does not work if the system is not running at 7:30 a.m. (/etc/cron.
Proposed solution:
As suggested by angkor at http://
solve the problem by adding the following script to /etc/cron.hourly:
#!/bin/sh
/usr/sbin/anacron -s
To post a comment you must log in.
I have attached my patch as suggested.