How to add a single root crontab entry automatically from a single command.

crontab -l|sed "\$a*/10 * * * * sh /opt/example.sh"|crontab -

This will add the entry */10 * * * * sh /opt/example.sh to the end of crontab.

?האם התשובה שקיבלתם הייתה מועילה 21 משתמשים שמצאו מאמר זה מועיל (84 הצבעות)