cronjob Components Overview
Top  Next
cronjobThe CronJob component is the thread-based alarm implementation for Delphi/BCB which acts like cronjob utility in Unix. The component produces periodical OnAlert events by schedule specified in CRON format (actually it uses extended CRON format with new "seconds" field, to let the event to be triggered even every second).  
To specify the moments when the component should trigger the OnAlert event, the component uses the CRON format (all who worked in Unix must be aware about this utility, this is daemon of scheduled, periodically executed tasks). The authors of CronJob component has very liked an idea of describing the periodical events of any complexity, tiered to astronomical time, in simple text string. We have used slightly modified CRON format, added seconds field and altered the rules of describing the lists of numbers.  
 
The package includes 2 bonus components:  
 
accuratetimerAccurateTimer — thread-based timer which periodically triggers the OnTimer events by specified Interval, but unlike standard TTimer, which based on Win32API and thus loses timer messages on high application overload, this timer runs in the separate thread and accurately triggers each OnTimer event at right time. It also allows to specify the Interval with higher precision (less than 55msec, limited in Win9x) and does not dependent to the system-wide limitations.)  
awaytimerAwayTimer — monitors user activity and increase its time counter when keyboard and mouse are inactive (user distracted from PC or goes away). Also it triggers special event when system is about to start the screensaver, or after some defined period of user inactivity.  




CronJob component (http://www.appcontrols.com
)
Copyright
© 2003-2004, UtilMind Solutions. All Rights Reserved.
Documentation created with Help&Manual
, best authoring tool.