Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


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

Sponsor:

#2 joew   Crossbones+   -  Reputation: 3682

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 NightCreature83   Crossbones+   -  Reputation: 3038

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, 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