I'm not sure why but my app never executes when I reboot my machine. In crontab> crontab -eI see@reboot /root/myscriptname.shThe file is#!/bin/bashnohup mono-sgen /root/myapp.exe /path/file > /dev/null 2>&1 &I run ps aux | grep monoand I don't see my file. If i run /root/myscriptname.sh from the command line it runs fine. I tried using bash /root/myscriptname.sh in crontab but that didn't solve it. How do I execute mono-sgen /root/myapp.exe /path/file > /dev/null 2>&1 without putting it in crontab (I want to leave it in a easy to disable sh file)
Cron not running my script
cron