Developer forum

Forum » Integration » URL for scheduled task

URL for scheduled task

Morten Snedker
Reply

If you want to make a scheduled task (or run one ore more activities from URL) there are two sets of parameters:


1) Semi-colon separated list of jobs
2) Solution token (Management Center -> System information -> Installation checksum)

 

 

http:///admin/public/webservices/Integrationv2/jobrunner.aspx?jobsToRun=activity1;activity2;activity3&token=

 


Regards
Morten Snedker


Replies

 
Tue Beck
Reply
Hej Morten
I tried to do as descriped above (http:///admin/public/webservices/Integrationv2/jobrunner.aspx?jobsToRun=AllusersAlldata&token=I removed the Token in this post) - but i didn't work! - Can you se any errors in the URL or syntax?

I use the URL in a Scheduled Tasks in the Management Center (se attached photo) – but it didn’t run this morning.


Any idear and help will highly appreciated!

Thx! :-)

/Tue



Skærmbillede_2012-05-30_kl._10.47.19.png
 
Morten Snedker
Reply
This post has been marked as an answer

There seems to be a flaw on the forum that batters the specific URL I posted. So you shouldn't just copy-paste.

Be critical to anything from me! :-)

You need to have the site name in the url. See attached.
Also, I recommend to implement the token. Otherwise anyone can execute your pipelines.

Let me know if it works.


/Snedker


url.png
Votes for this answer: 1
 
Dmitriy Benyuk
Reply
This post has been marked as an answer
Also it's needed to pay attention to Impersonation Settings, when you are adding a new task to Tasks Scheduler,
if the credentials are not valid for creating a new Windows Task(Windows Task Scheduler) it will not be added and not run.
If task is added then you could see it in the Tasks scheduler, see attached screenshot.

You can find the description here:
http://developer.dynamicweb-cms.com/forum/cms-standard-features/management-center-scheduled-tasks.aspx?PID=48


tasks.png
Votes for this answer: 1
 
Peter Bille Larsen
Reply

Hi Morten

Will the command run all the jobs at once, or will the module wait for the first job to finish and then run the next?

I need at the moment at way to run at job immediately after the first one has finished totally. I was wondering if your link with more job names could do that?

 

You must be logged in to post in the forum