¿ªÔÆÌåÓý

Re: dw-start.sh will not run from crontab


 

Doing a search on "cron bad fd number" shows that the issue is with the shell.
">& is the csh syntax (also supported by zsh and recent versions of bash) to redirect both stdout and stderr to a file."

The listed fix was a bash script (which included a check to ensure the application was not already running).? Modified their script for 'direwolf':
if ! pgrep direwolf > /dev/null; then 
  /home/pi/dw-start.sh > /dev/null 2>&1 &
fi
So you may only be looking for /home/pi/dw-start.sh > /dev/null 2>&1 &
See if that helps.

Rob KB8RCO

Join [email protected] to automatically receive all group messages.