do something once a month - crossplatform

Started by
1 comment, last by NightCreature83 11 years, 6 months ago
Hi
how to do something only once a month? C++ cross platform Windows/Mac/Linux.
Many thanks in advance
Michael
Advertisement
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.
And on linux you would use cron http://en.wikipedia.org/wiki/Cron

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, theHunter, theHunter: Primal, Mad Max, Watch Dogs: Legion

This topic is closed to new replies.

Advertisement