PDA

View Full Version : Cron Job



mmcmedia
19-01-11, 11:28
Can anyone sort this out i got this so far in the root file in crontabs dir (00 07 * * * /usr/bin/restart_enigma2)
So this will restart enigma 2 @7am but i want it to update satmate epg first then reboot the box so would it need 2 lines simular or like this

00 07 * * * /usr/bin/update_satmate
10 07 * * * /usr/bin/restart_enigma2

Would that be correct to update epg @ 7am the reboot the box @ 7.10am or is this not possible

:confused:

pooface
19-01-11, 11:58
Can anyone sort this out i got this so far in the root file in crontabs dir (00 07 * * * /usr/bin/restart_enigma2)
So this will restart enigma 2 @7am but i want it to update satmate epg first then reboot the box so would it need 2 lines simular or like this

00 07 * * * /usr/bin/update_satmate
10 07 * * * /usr/bin/restart_enigma2

Would that be correct to update epg @ 7am the reboot the box @ 7.10am or is this not possible

:confused:

Looks right to me ... but I haven't done any cron jobs for ages ... so can't remember. But, as long as those files exist, and work how you want them to work, it should be fine...

mmcmedia
19-01-11, 14:40
Any idea about the chmod on the root file 644 or 755

fintannl
19-01-11, 20:20
well 755 gives you full rights to do what you want and once you do not allow external telnet or ftp access to your system it should be totally safe