Article 4TK1X Crontab not running bash script on reboot

Crontab not running bash script on reboot

by
CharlieHotel
from LinuxQuestions.org on (#4TK1X)
Hello.

I am trying to run a bash script whenever the computer reboots. I understand that @reboot <path_to_script> in the crontab will do this.

I put "@reboot /home/bin/wormy2" at the bottom line of my crontab.

/home/bin/wormy2 is my bash script. I know the bash script works and that it has executable permissions.

The errors I found in /var/log/syslog are
-------------------
Nov 2 17:30:30 mint cron[1421]: (CRON) INFO (pidfile fd = 3)
Nov 2 17:30:30 mint cron[1421]: (CRON) INFO (Running @reboot jobs)
Nov 2 17:30:30 mint CRON[1469]: (root) CMD (/home/bin/wormy2)
Nov 2 17:30:30 mint CRON[1464]: (CRON) info (No MTA installed, discarding output)
-------------------

I don't know what this means. Can someone help me know what I need to do to get my crontab working?

Thank you!latest?d=yIl2AUoC8zA latest?i=r5PS7IHSiqc:m74hgcRDWz0:F7zBnMy latest?i=r5PS7IHSiqc:m74hgcRDWz0:V_sGLiP latest?d=qj6IDK7rITs latest?i=r5PS7IHSiqc:m74hgcRDWz0:gIN9vFwr5PS7IHSiqc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments