I have a PHP application that I have hosted in bluemix which just writes current time in a text file (sample application). Now I want to schedule it to run this application every 5 minutes on everyday using Workload Scheduler.
So I created this service and I included it and clicked "Launch Application Lab" on the Workload Scheduler from the dashboard. I tried creating step for this link below.
but I couldn't able to run this page on schedule. Need help on how to do it in Application Lab
This is the step that I have followed:
1) Clicked on the Application Lab
2) Created a new process and have set valid from/to.
3) Created trigger (next tab) . I have taken the screenshot and attached it as link. Please refer from here.
4) Now in Steps tab I exactly don't know what to choose from the drop down for the bluemix link that I have shared so that I can run that page in schedule.
It would be a great help if anyone can tell me the procedure or steps that need to be followed.
Here are the steps to follow:
Define a restful step.
Select a step of type "Restful"
Select your agent (you should have only one)
Click the "Action" tab
Fill the "Service URI" field with http://dmrt.au-syd.mybluemix.net
Click OK
The panel should look like this: See image
Create the trigger
Select trigger
Click New
In the "Repeat every" field set 5 minutes
Select the process and click "Enable"
This should work!