On Mon, Jan 25, 2016 at 03:52:50PM -0500, David Henderson wrote:
> Good afternoon everyone!  Still working with crond and was interested
> in seeing if the BB crond had a way to 'refresh' it without killing it
> and restarting so any time adjustments will be picked up.  I tried
> doing a SIGHUP kill call, but that doesn't appear to work...  Any help
> would be appreciated!

You cannot reset the timezone in a running process without a bit of
hackery in the source.
(It might be possible to use ptrace()/gdb to do it somehow, but I'm
not familiar with how, and it's certainly ugly.)
If you reset the clock time, crond should pick up the new time, sleep
a while if it went backwards, and continue.

HTH,
Isaac Dunham
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to