I have created a simple HelloWorld .NET core 2.0 console application. I want to schedule it to run every 5 minutes using scheduler for PCF service.
The steps I followed are:
- deployed the HelloWorld app to PCF using 'cf push' command
- Selected "Scheduler for PCF" service in MarketPlace in PCF console.
- I gave the scheduler a name and bound it to the HelloWorld app in PCF console
- Then I am struggling to create a job $ cf create-job HelloWorld my-job COMMAND
But I am not sure what i should pass for COMMAND argument of create-job.
If I succeed in creating the job and then I will cron it using the following command:
- $ cf schedule-job my-job "5 * * * * "
Please help me in this regard. Please let me know, if you need further details.
Thanks in advance.