[SOLVED] Cron is not working for me
-
I have tried 2 ways to apply a cron job using a custom script
1. Using the Cron package to use the webUI to load the job
2. Using the crontab -e commandNeither of them work, here is my script:
#!/usr/local/bin/bash
sleep 15
/sbin/ifconfig | sendEmail -f ****** -xu ****** -xp ****** -t ****** -u Notification -s smtp.gmail.com:587 -o tls=yesI am able to run the script without permission errors, but I cannot get cron to do it automatically.
Edit: I had posted the wrong version of the script
Solvedit:
I had incorrectly stated the program in my script! I have changed it to:
#!/usr/local/bin/bash
sleep 15
/sbin/ifconfig | **/usr/local/bin/**sendEmail -f ****** -xu ****** -xp ****** -t ****** -u Notification -s smtp.gmail.com:587 -o tls=yes
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.