PDA

View Full Version : [VU+ Solo2] Auto run shell scripts



khan888
27-03-14, 02:52
Hi

I use rats channel/picon updater as the family are now used to the setup of the bouquets.To update the channels/picons you have to do this manually via plugins or script runner, is there a way to run the scripts automatically at a certain time?

Many thanks

andyblac
27-03-14, 03:03
Hi

I use rats channel/picon updater as the family are now used to the setup of the bouquets.To update the channels/picons you have to do this manually via plugins or script runner, is there a way to run the scripts automatically at a certain time?

Many thanks

yes setup a Cron Timer

MENU --> Timers --> Cron Trimers

khan888
27-03-14, 03:40
yes setup a Cron Timer

MENU --> Timers --> Cron Trimers

Thanks for the quick reply Andy.

I've set command up as /usr/script/rat_plugin_picon.sh but it doesn't seem to run at the specified time.

Any ideas?

Cheers

Sent from my GT-I9100P using Tapatalk

andyblac
27-03-14, 11:14
Thanks for the quick reply Andy.

I've set command up as /usr/script/rat_plugin_picon.sh but it doesn't seem to run at the specified time.

Any ideas?

Cheers

Sent from my GT-I9100P using Tapatalk


send me the script ( PM ), and show me a screen shot of your config.

khan888
27-03-14, 12:09
send me the script ( PM ), and show me a screen shot of your config.

33463

33464

Thanks also PM sent

khan888
07-04-14, 09:20
Has anyone got any Cron timers working or could someone test to see if it's working for me please?

I've setup Cron Timer but can't get anything to run.

I was told to run telnet command 'top' to see what was running on my box, couldn't see Cron Timer anywhere even though it says it's active on the receiver.

Not sure if it's me doing something wrong or a problem with Cron Timer.

Thanks

Sent from my GT-I9100P using Tapatalk

andyblac
07-04-14, 11:03
Has anyone got any Cron timers working or could someone test to see if it's working for me please?

I've setup Cron Timer but can't get anything to run.

I was told to run telnet command 'top' to see what was running on my box, couldn't see Cron Timer anywhere even though it says it's active on the receiver.

Not sure if it's me doing something wrong or a problem with Cron Timer.

Thanks

Sent from my GT-I9100P using Tapatalk

havn't forgotten about you mate, sorry just been really busy.

khan888
07-04-14, 11:28
havn't forgotten about you mate, sorry just been really busy.

No worries thought I'd give it a go myself...not got very far :(

Sent from my GT-I9100P using Tapatalk

abu baniaz
07-04-14, 12:42
When You had first posted this, I had OPenATV image on my Nano. I tested the script, it was working. I have also tested it on Zeus 22, it is working too. Only difference between OpenATV and Zeus is that busybox cron had to be installed on the Vix image.

The ps command does not seem to work on OpenaTV and Vix images.

Can you confirm that the root file is in linux format?
What are file properties of root file?

andyblac
07-04-14, 13:15
yes, just check here all seems fine, make sure your script has execute privs.

andyblac
07-04-14, 13:17
The ps command does not seem to work on OpenaTV and Vix images.



working fine here.


root@vusolo2:/# ps aux | grep cron
root 807 0.0 0.0 2880 560 ? Ss 13:07 0:00 /usr/sbin/crond -c /etc/cron/crontabs
root 1026 0.0 0.1 2944 592 pts/0 S+ 13:17 0:00 grep cron

khan888
07-04-14, 13:24
Done a fresh flash of zeus and scripts are running fine now :-) which is strange.

Anyway all sorted so thanks Andy and Abu for your help.

Sent from my GT-I9100P using Tapatalk

abu baniaz
07-04-14, 14:01
working fine here.


Many thanks, did not have the aux at end.