Cron not working
-
Cron package not working for me.
I have to use crontab -e and via Web Gui and not run my scripts
Pfsense 2.1 Cron 0.1.8 -
Editing crontab from the command line will not work for long - it will be overwritten by the pfSense-defined config. The Cron package works nicely for me.
What are you entering as the command to execute?
On pfSense you usually need to specify the full path to all executables. -
I create simples script
/bin/echo 1 >> /root/eu.txtAnd call this on gui cron on web interface
1 * * * * * /bin/sh /root/eu.shNOT WORK
-
I create simples script
/bin/echo 1 >> /root/eu.txtAnd call this on gui cron on web interface
1 * * * * * /bin/sh /root/eu.shNOT WORK
That will run the script at minute 1 of every hour.
If you want to run every minute, you need to use */1 as the first parameter.
Also make sure the user is root, not *