Developer forum

Forum » Development » Schedule run

Reply
Hi!

How can you make a module run at certain intervals?

And is there a way to run a module by command of a web service or any other way to run a module from outside Dynamicweb?

Best regards,
Per Ljung
REAB Data AB

Replies

 
Nicolai Høeg Pedersen
Reply
Best way is to use Windows scheduler with i.e. Curl to execute a URL on the website.
 
Reply
You mean that I need to call a specific aspx-page where the module code will run?

Best regards,
Per Ljung
REAB Data AB
 
Nicolai Høeg Pedersen
Reply
Yes - have curl call something like
www.domain.com/mytaskrunner.aspx?cmd=importstuff
 
Reply
Hi!

Where can I find "curl"?

// Per
 
Reply
What about the security aspects having a public webpage doing things to the database? How do you disable unauthorized runs of this webpage?

Best regards,
Per
 
Reply
 
You can find CURL in /Admin/Public/Curl or you can download it here: http://curl.haxx.se/download.html

 

You must be logged in to post in the forum