On Mon, Oct 18, 2021 at 9:07 AM Carlos E. R. <robin.listas@telefonica.net> wrote:
I don't like the idea of the computer waking up on its own.
It can be a laptop, so wasting battery. Worse, the laptop can be in its
bag, and burn in fire, because there is no cooling.
A very windowsy idea.
The OP is already waking up the computer using the BIOS alarm.. if it is a laptop on baterry then.. the service can be made to start only on acpower..
No, not the OP, I am using BIOS to wake up the PC (no
laptop) in the night to backup local data to my NAS and run some
other scripts..
Cron works fine using /usr/libexec/cron/run-crons. Will check
anachron, as the system is not running 24/7. However, I need
support for time zones in cron scripts as the backup should always
start at 2am UTC (BIOS clock is running on UTC), although in live
in CET (currently CEST).
E.g. crontab for root contains entries like this:
# Cron jobs
UTC timezone
CRON_TZ=':UTC'
# Backup
daily
05 2 * * * ...
...
# Cron jobs
Berlin timezone
CRON_TZ=':Europe/Berlin'
...
Not sure if anachron supports different time zones, though.
Regards,
Oliver