Jump to content


Photo

Cron doesn't work


  • This topic is locked This topic is locked
2 replies to this topic

#1 spool

  • Member
  • 11 posts

0
Neutral

Posted 21 May 2014 - 21:18

Hi

I have Openpli 4.0 on my vu+solo, I want to use crontab with somes scripts

I have installed busybox-cron and edit crontab with crontab -e
root@vusolo:~# crontab -l
1 * * * * /etc/cccamchk.sh >/etc/1.txt
but when I check 1.txt file..already empty

if I execute cccamchk.sh manually it's work
root@vusolo:~# /etc/cccamchk.sh
CCcam... ok

ps command output :
997 root      3144 S    crond -c /etc/cron/crontabs
root@vusolo:~# cat /etc/cron/crontabs/root
1 * * * * /etc/cccamchk.sh >/etc/1.txt


Re: Cron doesn't work #2 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 22 May 2014 - 12:40

spool

 

/1 * * * * /etc/cccamchk.sh >/etc/1.txt
 

and 

 

echo -e 'root' >>/etc/cron/crontabs/cron.update
 

Edited by 2boom, 22 May 2014 - 12:40.


Re: Cron doesn't work #3 WanWizard

  • PLi® Core member
  • 70,534 posts

+1,811
Excellent

Posted 22 May 2014 - 16:15

Closing this topic, no need to ask the same question twice. This continues here: http://openpli.org/f...cron-dont-work/


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users