I feel like an idiot but sometimes the same command works and sometimes it fails. I am building a POC macro to illustrate how to find out when the next alarm is scheduled (in seconds) and then break that down into how many days, hours, minutes and seconds from now that is. Sometimes it gives me the correct answer and sometimes it fails to process the expression so I get a 0 instead. I thought since I am using the same working variable that it was processing too quickly so I put in 1 second pauses between steps with no luck. I can't figure out what I am doing wrong. Any feedback/advice would be greatly appreciated.
I do know I can use a shell script to have date give me this (assuming the next alarm is less than a day away) but the fact that I can't get the other method working reliably has me confused/concerned so I want to keep on this and figure out the (likely my) issue.
Thanks
I do know I can use a shell script to have date give me this (assuming the next alarm is less than a day away) but the fact that I can't get the other method working reliably has me confused/concerned so I want to keep on this and figure out the (likely my) issue.
Thanks