View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#3
Originally Posted by rotoflex View Post
What's the syntax used for assigning a time to an event in slarmd?

I have an event scheduled at 9 p.m. (21:00), & in /var/cache/alarmd/alarm_queue.ini the event's section has alarm_time as 1322362800.

How is 21:00 translated into 1322362800? It's not seconds after midnight.
The time is stored in standard UNIX/POSIX format ("epoch time"). You can play with it here:

http://www.epochconverter.com/
 

The Following 2 Users Say Thank You to reinob For This Useful Post: