1
vote
1answer
265 views

Run anacron even when on battery (laptop)

There is a known behavior of anacron not to run when the laptop is running on batteries. Is there any way to stop this behavior and run anacron whatever the power state? ...
1
vote
3answers
189 views

Configure a cron job to run only if laptop is plugged in?

I'm setting up a cron job to update my nmzmail database periodically, but I'd like the cron job to execute only if my laptop is plugged in. Is there a way to do this? If there's not a built in cron ...