bash - Linux, code that checks there are no currently running cron jobs? -


how write bash script checks there no running cron jobs, simple action?

i not talking cron jobs scheduled run @ point, referring actively running processes.

thanks!

intresting question ;)

for pid in `pgrep cron`;do   ps uh --ppid $pid; done|grep -v cron 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -