Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

do something once a month - crossplatform

4: Adsense

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   

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 joew   Members   

4336
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   Members   

4952
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.