Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Crontab Job

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 3.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      twistedstorm
      last edited by

      Just wondering if i have the /root/squidGuard_blacklist_update.sh set correctly to run once a week. Not very familiar with cron jobs. Thanks

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        It's fine. sorry, it was on month day instead of weed day.

        Just make sure /root/squidGuard_blacklist_update.sh has +x permission.

        chmod +x /root/squidGuard_blacklist_update.sh

        att,
        Marcello Coutinho

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • hydrianH
          hydrian
          last edited by

          No.  That job will just run on the first day (1) of every month.  It will not run once a week.  If you want to run it once a week your cron should look like this:

          0  0  *  *  0  root  /root/squidGuard_blacklist_update.sh

          0 = Sunday … 6 = Saturday

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.