Thread: GS2 'cron jobs'
View Single Post
  #1  
Old 05-11-2009, 09:41 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
GS2 'cron jobs'

For the shop system on Valikorlia, I'm wanting to implement a cron job-like scenario for updating item stock in certain shops. I'm assuming that scheduleEvent() would be used here. I've never used scheduleEvent() a day in my life, though.

Is there a way to update item stock every 24 hours, indefinitely using scheduleEvent()?
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote