Script used for monitoring:
#!/bin/bash
oldTime=$(date +%s)
oldPsOutput=$(ps faux)
while sleep 1
do
currentTime=$(date +%s)
currentPsOutput=$(ps faux)
if [ "$currentTime" -lt "$oldTime" ] # clock change detected?
then
(
echo '========='
echo "$currentTime < $oldTime"
echo "$oldPsOutput"
echo ':::::::::'
echo "$currentPsOutput"
) | mail -s "Time jump" root
fi
oldPsOutput=$currentPsOutput
oldTime=$currentTime
done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1429427
Title:
Unexplainable time jumps in CRON
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1429427/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs