Pregunta

I need to execute a cron job based on whether or not the cron job that ran before it was at least partially successful, I am trying to set up conditions for the run... sometimes these condition would be on the local or remote machine...

is there a way to do this?

¿Fue útil?

Solución

In that case you can share a common-file in which the first job will write its status and second cron job will read it an decide on that basis weather it should proceed or not.

In case of remote machine you may share that file on network.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top