PDA

View Full Version : [VU+ Duo] Cron Job



Guinness.cobra
25-02-12, 19:03
Hi Guys - any help would be appreciated. I want to create a cronjob which accesses the usb every 15 min. i used ftp and went into etc then cron then crontab. there is only a readme file. do i create a root file with notepad and what do i enter ??? I read somewhere i need to enter "*/15****touch/media/usb/keepalive.log"

is that it ? do i need to put the "" too ???

Thanks

This is because my picons get lost and from the forums i read that a cronjob is helpful :)

Zartmy
25-02-12, 21:00
Put a file in /etc/cron/crontabs/ call it root

Create the file root with for example notepad, make sure it is named just root and not root.txt

*/15 * * * * touch /media/usb/keepalive.log


Good luck.

geeing
27-02-16, 10:44
Hi Guys,
Could anyone tell me how to run a command that will run EPG Refresh every morning?
Found that I'm having to do this manually but before it allows me I need to reboot the box.. very frustrating.

Thanks
G

birdman
27-02-16, 11:50
Create the file root with for example notepad, Do not use notepad. It produces DOS text files (lines and with <CR><LF>). You need an editor that can produce Unix text files (<LF> only).
notepad++ can do that.
Well, you could use notepad provided you transfer it as a text file via FTP.