I have an issue when i try to modify or see my crontab commands, its only for this commands, the wear thing its the proccess are running OK

when I execute

root@subuntu-1604:~# crontab -l


root@subuntu-1604:~# crontab -e

I get the follow

/usr/local/bin/crontab: line 11: 17: command not found

/usr/local/bin/crontab: line 12: 25: command not found

/usr/local/bin/crontab: line 13: 47: command not found

/usr/local/bin/crontab: line 14: 52: command not found

Yesterday that was working ok.

Thanks in advance.

  • 2
    /usr/local/bin/ isn't the normal location for the crontab binary - it looks like you have a text file there that is overriding the system's crontab – steeldriver May 16 '18 at 14:08
  • i have binary OK on /usr/bin, the file on /usr/local/bin contents the follow text – Sebastian de la Cruz May 16 '18 at 14:35
  • as you say, i delete that file, it was copied from an olded server, thanks to all – Sebastian de la Cruz May 16 '18 at 15:31

As steeldriver says, that file was wrong, that file corresponds to and older version of ubuntu, i delete that file and back to normal, thans a lot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.