Selective input passing, for cron with multiple interval

0,0 4,5 11 11 * /pkgs/roots/scripts/job_monitor.ksh

i have the requirement like,
for the first time(4) the script should have the input parameter as "Value1"
but the second time(5) it should have the input parameter as "Value2"

Can we achieve this using any cron options ? If yes, How..??

Otherwise what is the best approach to achieve this within the script ?

-- you cannot do with cron options.

-- check the current time in script, and use argument appropriately.

agree, split to two cronjobs will be easy solution.

0 4 11 11 * /pkgs/roots/scripts/job_monitor.ksh var1
0 5 11 11 * /pkgs/roots/scripts/job_monitor.ksh var2

otherwise, you have to write one more if-then-else-fi in your ksh script.