i found a bug in the cru script.
if while adding a command, {enter} is pressed, {enter} will be written into the cron file. the unique ID will end up on a separate line. when this happens, the cron job can not be deleted via cru and needs to be manually removed in the file /var/spool/cron/crontabs/root.
example:
$ cru a ABC "1 2 3 4 5 command{enter}
> oops"
will result in the following crontab file:
$ cru d ABC will result in:
bug: cru
if while adding a command, {enter} is pressed, {enter} will be written into the cron file. the unique ID will end up on a separate line. when this happens, the cron job can not be deleted via cru and needs to be manually removed in the file /var/spool/cron/crontabs/root.
example:
$ cru a ABC "1 2 3 4 5 command{enter}
> oops"
will result in the following crontab file:
Code:
1 2 3 4 5 command oops #ABC#
Code:
1 2 3 4 5...