How to combine jobs 6.2.7?

Posted on

Is there a way to combine jobs? For example, I'm looking to have a patching job that would consist like this:

Echo that patching will begin,
Sleep one minute.
Reboot the systems
Apply errata
Reboot the systems once again

I have tried pushing this out in an ad-hoc job, but it seems to ignore the sleep times.

I see there are jobs to update packages and reboot, but how can these two be combined?

Responses