diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-05-14 16:05:56 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-05-15 07:52:14 +0100 |
| commit | 7dfc5b04974ac428d8f43cf84a4e2d7ceb193675 (patch) | |
| tree | 9c8bba256715a81d84b698b044ba88cc10711066 /docs/.gitignore | |
| parent | 7c5a95ba4d0a05145d42e17e74c7c991a0c4ff76 (diff) | |
| download | busybox-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 'docs/.gitignore')
0 files changed, 0 insertions, 0 deletions
