can anyone explains me the last fields in the below cron job. Here it will run on 31st 23:59.. what is mean by 1-7/2 (first to seventh month) what /2 represents
59 23 31 1-7/2,8-12/2
Thanks in advance.
can anyone explains me the last fields in the below cron job. Here it will run on 31st 23:59.. what is mean by 1-7/2 (first to seventh month) what /2 represents
59 23 31 1-7/2,8-12/2
Thanks in advance.
The slash means, use only every n-th value, in your case every other month:
1-7/2 = 1 - 3 - 5 - 7
8-12/2 = 8 - 10 - 12
Only a few cron implementations use this notation. The Solaris cron does not.
thanks a lot.