質問編集履歴

1

* * * * * /usr/sbin/pidof -x cron_job.sh >/dev/null || /path/to/your/cron_job.sh

2020/03/25 02:25

投稿

m1617030291
m1617030291

スコア7

test CHANGED
File without changes
test CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
 
56
56
 
57
- COMMAND =/sbin/pidof -x /usr/sbin/pidof -x cron_job.sh >/dev/null || /path/to/your/cron_job.sh
57
+ COMMAND = /usr/sbin/pidof -x cron_job.sh >/dev/null || /path/to/your/cron_job.sh
58
58
 
59
59
  * * * * * root COMMAND
60
60