cronie-crond / cronie

Cronie cron daemon project
Other
467 stars 80 forks source link

Allow user to run anacron jobs on battery #115

Closed fgozzini closed 1 year ago

fgozzini commented 2 years ago

The user can allow running anacron jobs on battery by adding the string ANACRON_RUN_ON_BATTERY_POWER=yes to the file /etc/default/anacron.

t8m commented 2 years ago

Nice, it would be also nice if it was documented somewhere, however I do not see the right place. Manual page for anacron might be the place however as this is handled by the 0anacron script which might not necessarily be used, it is not so clear.

fgozzini commented 2 years ago

What about the crond manpage?

t8m commented 2 years ago

What about the crond manpage?

I do not think it belongs there at all. Maybe there should be a 0anacron manpage in the section 8 which could be linked from anacron manpage?

fgozzini commented 2 years ago

So do you suggest to create a new manpage just for this?

t8m commented 2 years ago

So do you suggest to create a new manpage just for this?

Yeah. But it is up to you if you want to create it.