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

    Cron job not running

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 1.1k 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.
    • O
      OldNick
      last edited by

      Hi,

      I have script

      scp -i /root/.ssh/pfsnag_rsa /var/log/access.log.0 nagios@10.1.1.10:/usr/local/www/hotspot/Logs

      which as you can see copies the rotated squid access log to another machine where i process it for later use

      I have create a cron job to call my script at 6am every morning.

      0  6  *  *  *  root  /root/logmove.sh

      However it never seems to run.
      I have tryed to create the job using crontab -e and through the webgui but no joy with either method.

      There are no logs I can find for cron so I cant see why the job isnt running.
      Does any one have any ideas where I have gone wrong.

      Regards

      Nick

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