SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sun Jul 22, 2018 7:16 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Script Scheduling?
PostPosted: Tue Aug 04, 2009 3:08 am 
Offline

Joined: Sat Aug 01, 2009 10:37 pm
Posts: 15
is there a way to schedule a script to run at a certain time? for example, if everyday at 16:01 I want to run a script that will do something with the day's data.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 04, 2009 1:44 pm 
Offline

Joined: Wed Oct 08, 2003 1:06 pm
Posts: 833
Hi,

There is no such a mecahnizm built in OQ.

You should put this logic in your script. The best way is to use System.Timers.Timer class to put a reminder on 16:01 and process your data when the timer's Elapsed event happens. After your data is processed your script could put a new timer for the next day.

Regards,
Sergey.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group