Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
How to Configure a Cronjob
Published Sep 18, 2024

How to Configure a Cronjob

Subscribe

Configuring a cronjob requires you to create an executable shell script on your firewall. Afterwards, you must schedule the script for execution.

Before You Begin

Create a script directory where to store the script in. Then, create a script that fulfills the task that the firewall must process periodically. Finally, store the script in the script directory.

Step 1. Schedule the Script for Execution

In this example, the script must be executed every day at 09:00.

  1. Log into your firewall on box level.

  2. Go to Configuration > Box > Advanced Configuration > System Scheduler.

  3. In the left menu, click Daily Schedule.

  4. Click Lock.

  5. In the Intraday Schedule section, click +.

  6. Enter the name for your intraday schedule, i.e., MyScript

  7. Click OK. The Intraday Schedule window opens.

  8. Enter a description for your schedule, i.e., MyScript at 09:00.

  9. Click the green +.

  10. Enter the full path name, including the name of the script.

  11. From the Hourly Schedule list, select list.

  12. For the Hour List, enter the number for the hour, i.e., 9.

  13. Click OK.

  14. Click Send Changes and Activate.

Step 2 (optional). Check the Result of the Cronjob

  1. Go to SSH and log into your firewall as user 'root'.

  2. Enter the Unix command in the shell: cat /phion0/logs/box_System_cron.log


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
    • Updating CloudGen Firewalls and Control Centers
    • CloudGen Firewall Cold Spare Replacement
    • How to Generate a System Report for Barracuda Networks Technical Support
    • Command-Line Interface
    • Cronjobs
      • How to Configure a Cronjob
      • Example - Create box.par Archive Files Using a Cronjob at Regular Intervals
    • How to Configure the Bootloader
    • How to Configure Advanced Barracuda OS System Settings
    • How to Configure SMS Control
    • Backups and Recovery
    • How to Update the BIOS on the CloudGen Firewall
    • Interpreting SSD Wearout Indicators for CloudGen Firewall Hardware Models
    • How to Display Server-to-Assigned-Services migrated HA Firewalls with the Server-Services Node Structure (for maintenance purposes only)
    • IPMI Appliance Management
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 25, "requestCorrelationId": "991d500de6d5457c8ebe889427ea8b99"}