Hi guys, I see some where is possible change restart time Ubuntu server Oscar/cccam,
But now I can't found.
I just want change restart time for 4:00am
Help please
Need help change the restart time
- Tigriuz
- Thread is marked as Resolved.
There are 6 replies in this Thread which was already clicked 579 times. The last Post () by nemo sousa.
-
-
Change it in this file..
/etc/crontab -
Thanks that fellow, but I remember you some where ripe post ripe in putty, when all server restarting not only Oscar/cccam.
-
-
i have like this:
# m h dom mon dow user command
56 * * * * root cd / && run-parts --report /etc/cron.hourly
44 3 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
32 4 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
27 1 31 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
59 23 * * * root /var/script/oscam-backup.sh
57 06 * * * root killall cccam_2.1.3
57 06 * * * root killall oscam
57 06 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
57 06 * * * root /var/script/keyupdater.sh
58 06 * * * root /usr/local/bin/oscam -b
59 06 * * * root /usr/local/bin/cccam_2.1.3
*/5 * * * * root /var/script/CCcamCheck.sh
*/5 * * * * root /var/script/OscamCheck.sh
03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.logmaby i need only change to like this?:
# m h dom mon dow user command
56 * * * * root cd / && run-parts --report /etc/cron.hourly
44 3 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
32 4 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
27 1 31 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
59 23 * * * root /var/script/oscam-backup.sh
57 03 * * * root killall cccam_2.1.3
57 03 * * * root killall oscam
57 03 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
57 03 * * * root /var/script/keyupdater.sh
58 03 * * * root /usr/local/bin/oscam -b
59 03 * * * root /usr/local/bin/cccam_2.1.3
*/5 * * * * root /var/script/CCcamCheck.sh
*/5 * * * * root /var/script/OscamCheck.sh
03 04 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.logand where i need stick this line:
00 4 * * * root /sbin/reboot -
i have like this:
# m h dom mon dow user command
56 * * * * root cd / && run-parts --report /etc/cron.hourly
44 3 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
32 4 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
27 1 31 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
59 23 * * * root /var/script/oscam-backup.sh
57 06 * * * root killall cccam_2.1.3
57 06 * * * root killall oscam
57 06 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
57 06 * * * root /var/script/keyupdater.sh
58 06 * * * root /usr/local/bin/oscam -b
59 06 * * * root /usr/local/bin/cccam_2.1.3
*/5 * * * * root /var/script/CCcamCheck.sh
*/5 * * * * root /var/script/OscamCheck.sh
03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.logand where i need stick this line:
00 4 * * * root /sbin/reboot
Remove the lines highlighted red then paste the daily reboot command to the first blank line available then save & reboot. -
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
59 23 * * * root /var/script/oscam-backup.sh
59 06 * * * root /usr/local/bin/cccam_2.1.3
*/5 * * * * root /var/script/CCcamCheck.sh
*/5 * * * * root /var/script/OscamCheck.sh
03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.loghere is my config how i can reboot everyday at 4 am , what i need to do ? thanks
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!