Cron expression help

Hello team,
is the first time with the cron expression, i need to start robot from 8am to 18pm every five minute from monday to friday; is correct to put this expression?

0 0/5 8,18 ? * MON,TUE,WED,THU,FRI *

The second question is: if the first run, for example at 8am, is not finished at 8:05, the second run goes in pending?
And if many processes goes in pending, restart automatically after the first is finished or turn to failed?

Thanks in advance

HEy @andreus91

Expression you wrote is correct i.e 0/5 8,18 ? * MON,TUE,WED,THU,FRI *

Second jobs will go in pending mode if one is in progress.

1 Like

@andreus91

It should be like this:

                                               0 0/5 8-18 ? * MON,TUE,WED,THU,FRI * 

if its not completed with in that time then one process will be in the pending state and all other processes will be faulted as all are same processes.

1 Like