Jump to content

  • Log In with Google      Sign In   
  • Create Account

do something once a month - crossplatform


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 abcdef44   Banned   -  Reputation: 2

Like
0Likes
Like

Posted 02 November 2012 - 06:12 AM

Hi
how to do something only once a month? C++ cross platform Windows/Mac/Linux.
Many thanks in advance
Michael

#2   Crossbones+   -  Reputation: 4335

Like
0Likes
Like

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: 4698

Like
0Likes
Like

Posted 02 November 2012 - 07:38 AM

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





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.




PARTNERS