This 43200 seems to make no much sense as it yields more incorrect results. Any feedback on how to resolve my above scenarios would be greatly appreciated. Thanks again!
Thanks and Regards,
Ken
The issue seems to be due to time zone change (1 hour forward) on March 8th 2020. But, I was testing them around 3pm and should not have any impact. I did some research online and some post suggested to add 43200 (which seems to be 12 hours). I am not sure if it is the right way to go. Any...
Hello everyone,
I am getting inconsistent days between two dates as below. Any idea? Any feedback would be greatly appreciated. Thank you everyone!
# This returns 42 days -- which is correct
> echo $(((`date +%s -d '2020/02/02'` - `date +%s -d '2019/12/22'`) / 86400)) days
42 days
# This...
Hello everyone,
I hope you can help me with the issue I am having. I tried to run a Crontab job on odd/even weeks but couldn't get it to work. Below has the detail. I'd greatly appreciate any feedback that you can provide. Thank you...
# The job ran and the script got executed.
15 17 * * 1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.