Scheduled Tasks run every hour even scheduled to run every 25 minutes
search cancel

Scheduled Tasks run every hour even scheduled to run every 25 minutes

book

Article ID: 251568

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We have created a scheduled task that runs every 25 mins.

Any idea why I am seeing task run at every 00 minute though I configured it to run every 25th minute ?

Environment

Release : 10.x

Component : API GATEWAY

Cause

The gateway scheduler store the cron expression as Quartz scheduler expression. 

Resolution

Use audit or ssg log for the information to see if task run.

 

Setting every 25th minute shows a crontab of

*/25 is defined as run every 25 minutes. 

https://stackoverflow.com/questions/39485342/how-to-run-every-25-minutes-every-day-from-9-am-to-5-pm-in-quartz-scheduler

 

Per stack overflow and IBM: https://www.ibm.com/support/pages/how-run-cron-job-every-5-minutes

" run  smy_script.sh every 5 minutes would be as follows on Linux:

*/5 * * * * /home/aspera/my_script.sh"