1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Rep Power

    Validate a yearly schedule

    I need to automate validation of running yearly schedule of an application . to do this. we need to validate if the schedule kicks off every year. to do this. we need create a yearly schedule from application . once the schedule runs we need to change the system date and time ahead of one year . I have the module to change system time ready . How would i write logic to run this schedule and move the date ahead and then make sure schedule kicks off next year and then change the date and so on...
  2. #2
  3. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Rep Power
    Use the batch processing system for this. In linux use crontab or anacron .
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo