i want to understand the feature called schedule reboot and how it works, i define that every 1st month at 3:00 am my router will reboot himself, but it doesn't reboot himself.
im running gargyole v1.6.2 on TP-LINK TL-WR1043ND V2.1, i want to know if this is a bug or i'm not understand how it should work.
thanks in advanced.
Schedule reboot router
Moderator: Moderators
Re: Schedule reboot router
please post the output of
Code: Select all
crontab -l
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Schedule reboot router
0 0,4,8,12,16,20 * * * date -u +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
0 3 0 * * sh /usr/lib/gargoyle/reboot.sh
0 0,4,8,12,16,20 * * * /tmp/bw_backup/do_bw_backup.sh
i run the command line with SSH connection and this is the output.
i want an explanation what it means.
0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
0 3 0 * * sh /usr/lib/gargoyle/reboot.sh
0 0,4,8,12,16,20 * * * /tmp/bw_backup/do_bw_backup.sh
i run the command line with SSH connection and this is the output.
i want an explanation what it means.
Re: Schedule reboot router
Code: Select all
* * * * *
| | | | |
| | | | |
| | | | +---- Day of the Week (range: 1-7, 1 standing for Monday)
| | | +------ Month of the Year (range: 1-12)
| | +-------- Day of the Month (range: 1-31)
| +---------- Hour (range: 0-23)
+------------ Minute (range: 0-59)
Out of curiosity, what happens if you change it to be the second of the month, and then re-run the "crontab -l" and see if it is still an invalid number.
When i get an opportunity i'll see if mine also corrupts.
Also out of curiosity, if you set it to reboot in say, 15 minutes from your current time, can you check that it actually does so?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Schedule reboot router
now i change to 2nd and get:
0 0,4,8,12,16,20 * * * date -u +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
0 0,4,8,12,16,20 * * * /tmp/bw_backup/do_bw_backup.sh
0 3 1 * * sh /usr/lib/gargoyle/reboot.sh
it's not zero.
the time is american format:
Uptime:5 days, 18 hours, 28 minutes
Current Date & Time: 05/01/15 12:04 DST
0 0,4,8,12,16,20 * * * date -u +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
0 0,4,8,12,16,20 * * * /tmp/bw_backup/do_bw_backup.sh
0 3 1 * * sh /usr/lib/gargoyle/reboot.sh
it's not zero.
the time is american format:
Uptime:5 days, 18 hours, 28 minutes
Current Date & Time: 05/01/15 12:04 DST
Last edited by erez669 on Fri May 01, 2015 5:05 am, edited 1 time in total.
Re: Schedule reboot router
ok well i think it will now work properly.
I would probably do the 15 minute experiment just to check, but i think you're good to go.
I'll confirm in a while if the issue exists for me also.
I would probably do the 15 minute experiment just to check, but i think you're good to go.
I'll confirm in a while if the issue exists for me also.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Schedule reboot router
the time is in american format:Lantis wrote:ok well i think it will now work properly.
I would probably do the 15 minute experiment just to check, but i think you're good to go.
I'll confirm in a while if the issue exists for me also.
Uptime:5 days, 18 hours, 28 minutes
Current Date & Time: 05/01/15 12:04 DST
i'm from israel.