I wouldn't use a timer with such a long interval, since the chances of an app staying up for a full year without a single restart are very, very small.
A better approach would be to store the last successful execution in the database, and use a timer with a smaller interval (daily?) to test whether a year has elapsed and execute as needed.
Regards,
David
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign