I'm posting the line I just added to my crontab because it's my first and I want to be sure it's doing what I'm intending it to do.
Code:
59 23 0 * 1-5 /export/<many_directories_later...>/scripts/get_clientkpi.sh
Supposed to do: Run script at 11:59pm every night, except weekends.
Question: If I wish to direct error output, will the following work:
Code:
59 23 0 * 1-5 /export/<many_directories_later...>/scripts/get_clientkpi.sh > 2>/export/<many_directories_later...>/scripts/error.log