I never use crontab, and while it ask me for root password, I am careful.
So my question is,
I have to run periodically (let's say every 30 min)a simple script for analyze the text file, which is update almost every minute. If the result of the script find exactly what I want, the script kill a proces which update the text file.
So basically I just need some command which runs my analytical script lets say every 30 minute.
I found out that crontab is probably one of the options, but I is it "safe". Why this command require the root password and so on? Or Is there any other options (better, simpler and so on) how to run some script periodically?
Thanks a lot
P.
crontab -e
instead ofsudo crontab -e
. That way root is not involved at all.