Crontab Job



  • 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



  • 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



  • 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


Log in to reply