It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda NextGen Firewall X

Custom cronjob does not work

  • Type: Knowledgebase
  • Date changed: one year ago
Solution #00005199 
 
Scope:
This solution replies to:
- NG Firewall firmware versions 4.2.x, 5.0.x, 5.2.x
- netfence firmware versions 4.2.x

 
Symptoms:

A custom cronjob in "Config" > "Box" > "Advanced Configration" > "System Scheduler" does not work although the used command was executed on command line.

Example: /root/test.sh

 

Check the /var/log/cron logfile whether or not the job was executed.

  cat /var/log/cron


 

Solution:

For cronjobs it is importand to enter the correct syntax with full path and execution in the background with "&".

 

Please correct your cronjob in  "Config" > "Box" > "Advanced Configration" > "System Scheduler" and use the right syntax, like in the following example:  /root/test.sh & > /dev/null &

 
 
Link to This Page:
https://campus.barracuda.com/solution/50160000000IKZsAAO