stty erase ^HThis originates the below error when you try to run a scheduled command (non interactive mode):
stty: : Invalid argumentTo solve this issue use the below instead:
test -t 0 && stty erase ^HYou use stty to help with some keyboard issues. Oversimplifying, the issue here is that cron runs with no keyboard attached to the session.
No comments:
Post a Comment