I have a job that needs to be on our hundreds of Solaris 10 x86 servers at nights
As our cloud provisioning will read from the template to create/provision VMs
very often, I would like to put into crontab for the job to be run on Mon-Fri,
randomly being distributed.
So in the template which the provisioning process copies from, X could be 1-5
(ie Mon to Fri) : is there a way to insert a random value, ie X in the example
below (1 to 5 inclusive) into the crontab of a Solaris 10?
0 22 * * * X /dir/Job