How to configure vScheduler?

These are the steps for configuring vScheduler on any project:

Setup vScheduler

  1. Deployment of the “tpg-vscheduler-exe” microservice if not already present.
  2. Subscribe “VAHANA_ALERT” service from VAHANA HUB.
  • For every org and app on which we are configuring jobs using vScheduler,We need to subscribe VAHANA_ALERT service from VAHANA_HUB.
  • If VAHANA_ALERT service is not subscribed user will not get alerts even if alert configuration is done in vScheduler.
  • After subscribing kindly verify VAHANA_ALERT service is published in vconnect.
    This finishes the setup

Configure cron service on vScheduler portal

You need to have one vConnect service which you are going to execute using vScheduler. here are the steps for setting up a WebService with name “TEST_CRON_SERVICE” on vConnect which will get executed every 10 minutes.

  1. Go to Scheduled jobs tab available in project management.
  2. Click on ‘Add new job’ and provide name and description in it.
  3. In ‘Job Schedular Type’ you can choose if Single service needs to selected or complete service workflow.
  4. Then, We need to select Type- vConnect service.
  5. In ‘service name’ , you can select the name of the service from the given list.
  6. In ‘Schedule Time’, You can select the time period accordingly.
  7. Also, You have an option to send alert on success or failure.
  8. Save the scheduled job.

In VRT Portal:
VRTPortal-> Scheduler
There you can view you scheduled jobs, Status of jobs and details related to it.

1 Like

These are the steps for configuring vScheduler on any project:

Setup vScheduler

  1. Deployment of the “tpg-vscheduler-exe” microservice if not already present.
  2. Subscribe “VAHANA_ALERT” service from VAHANA HUB.
  • For every org and app on which we are configuring jobs using vScheduler,We need to subscribe VAHANA_ALERT service from VAHANA_HUB.
  • If VAHANA_ALERT service is not subscribed user will not get alerts even if alert configuration is done in vScheduler.
  • After subscribing kindly verify VAHANA_ALERT service is published in vconnect.
    This finishes the setup

Configure cron service on vScheduler portal

You need to have one vConnect service which you are going to execute using vScheduler. here are the steps for setting up a WebService with name “TEST_CRON_SERVICE” on vConnect which will get executed every 10 minutes.

  1. Go to Scheduled jobs tab available in project management.
  2. Click on ‘Add new job’ and provide name and description in it.
  3. In ‘Job Schedular Type’ you can choose if Single service needs to selected or complete service workflow.
  4. Then, We need to select Type- vConnect service.
  5. In ‘service name’ , you can select the name of the service from the given list.
  6. In ‘Schedule Time’, You can select the time period accordingly.
  7. Also, You have an option to send alert on success or failure.
  8. Save the scheduled job.

In VRT Portal:
VRTPortal-> Scheduler
There you can view you scheduled jobs, Status of jobs and details related to it.

1 Like

Please follow below steps:
Create a without session Service which will process the the data.
Go to the vScheduler module and Add a Job and select the service which you created in previous step and add frequency. Job Type (Single)

3 Likes