Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - akoeier

#1
I created a customized cron job, I can see it and pick it from "

    System: Settings: Cron

" and create a cron jobs.

However it seems it never run - here is my script:

/sbin/ping -c 1 8.8.8.8 > /dev/null;
if [ $? != 0 ]; then
    /sbin/ifconfig ue0 down
    /sbin/ifconfig ue0 up
    echo logger "renewed dhcp lease"
    echo "renewed DHCP" >> WAN.log
fi

echo `date` >> WAN.log

manually run it I can see the date/time string is added to log file, but I test the cron job run every 10 minutes but I dont see the log is updated.

Can anyone help and let me know where the issue is?

Thanks

Shawn