cron script is invoking a command with --verbose option
I had a cron script fail on me because I was in autopilot while typing the script and I included the --verbose option:
#!/bin/bashsome commandstar cvfz /my/archive/file.tar.gz /my/shared/directorycome more commandsThe script ran fine when executing from shell, but failed when running from crontab because the verbose output goes to stdout when run from shell, but nowhere when run from crontab. Easy fix to remove the 'v':
#!/bin/bashsome commandstar cfz /my/archive/file.tar.gz /my/shared/directorysome more commands