Hey everyone...

How to perform a function for each time interval?

eg: Using the Linux crontab (scheduler jobs) would be:

0 * * * * /home/user/.updating # (execute '.updating' each 1 hour)

Looking at the Wt tutorial I found: Wt::WEvent, Wt::EventType::TimerEvent.

Please, anyone can send a small example of how to create a timer in Wt?!
(as a daemon that ran each time interval, independent of any session)

Tks,
John

http://www.codeproject.com/KB/cs/cron.aspx
http://www.cplusplus.happycodings.com/Algorithms/code37.html


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to