Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
66
rated 0 times [  66] [ 0]  / answers: 1 / hits: 117040  / 3 Years ago, wed, september 22, 2021, 12:23:07

When I execute cron I get this fault




cron: can't open or create /var/run/crond.pid: Permission denied




So, how to do it without cron?



P.S. I want to check if file in svn has changed and I have a special script for it.


More From » bash

 Answers
6

To access your personal cron configuration you should use the command crontab -e (to edit your cron table).



Alternative is the watch command:



watch -n10 command args


Finally, to monitor filesystem events more effectively, you could use inotifywait, from inotify-tools package.


[#41835] Thursday, September 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eatack

Total Points: 245
Total Questions: 120
Total Answers: 113

Location: Estonia
Member since Wed, Jun 8, 2022
2 Years ago
;