aboutsummaryrefslogtreecommitdiff
path: root/testsuite/tr/tr-non-gnu
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-05-14 16:05:56 +0100
committerRon Yorston <rmy@pobox.com>2026-05-15 07:52:14 +0100
commit7dfc5b04974ac428d8f43cf84a4e2d7ceb193675 (patch)
tree9c8bba256715a81d84b698b044ba88cc10711066 /testsuite/tr/tr-non-gnu
parent7c5a95ba4d0a05145d42e17e74c7c991a0c4ff76 (diff)
downloadbusybox-w32-cron_changes.tar.gz
busybox-w32-cron_changes.tar.bz2
busybox-w32-cron_changes.zip
crond: fix reboot special timecron_changes
The 'reboot' special time didn't work because the file to check for a reboot couldn't be created. And in any case, the mechanism used on Linux wouldn't work: Windows has no /var/run directory which is cleared on reboot. The crond.reboot file is now placed in the cron directory. If it doesn't exist when crond starts, it's created but the reboot job (if any) isn't run. If the file exists its modification time is compared with the time of the current boot. If it's older update its time and run the reboot job. Adds 144-224 bytes.
Diffstat (limited to 'testsuite/tr/tr-non-gnu')
0 files changed, 0 insertions, 0 deletions