Hi
how to do something only once a month? C++ cross platform Windows/Mac/Linux.
Many thanks in advance
Michael
2 replies to this topic
Ad:
#2 Crossbones+ - Reputation: 2416
Posted 02 November 2012 - 06:15 AM
You use the API the platform gives you for task scheduling.. i.e. for Windows you would use the TaskScheduler with TASK_TRIGGER_MONTHLY. There really isn't a cross platform manner to do this.
Edited by joew, 02 November 2012 - 06:18 AM.
#3 Crossbones+ - Reputation: 1147
Posted 02 November 2012 - 07:38 AM
And on linux you would use cron http://en.wikipedia.org/wiki/Cron






