Cron job not running



  • 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


Log in to reply