Auto run rat script

khan888

Inactive User
Joined
Mar 25, 2005
Messages
369
Reaction score
132
Location
Nottingham
Hi,

Does anybody know how to run rats channel/picon updater scripts automatically using Cron timers?

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

Using vix zeus 018 on a solo 2

Thanks

Sent from my GT-I9100P using Tapatalk
 
It would be an idea to post your root file so that someone can have a look for you.

Problem I see is that if someone posts a file here, lots of people will use it. This could then be intepreted as a DDOS attack.

Might be better if the same approach was adopted like the one for Catseye by afc_rich. This could check for changes before downloading.
 
Can anyone else shed any light on why the timer isn't running the scripts?

Sent from my GT-I9100P using Tapatalk
 
Can anyone else shed any light on why the timer isn't running the scripts?

Sent from my GT-I9100P using Tapatalk

Providing cron is running then we need to see your root file as Abu said already

Sent from my 1080P-N003 using Tapatalk
 
Providing cron is running then we need to see your root file as Abu said already

Sent from my 1080P-N003 using Tapatalk

Cron running as you can see from screenshot, root file attached....thanks

1_0_19_5208_812_2_11A0000_0_0_0.jpg
 

Attachments

  • root.rar
    111 bytes · Views: 5
As far as I'm aware the acceptable format for mins is 0 to 59 and hrs are 0 to 23

So try editing your root file to show 0 0 instead of 00 00
 
As far as I'm aware the acceptable format for mins is 0 to 59 and hrs are 0 to 23

So try editing your root file to show 0 0 instead of 00 00

Ok thanks so if I was to set the time for 4am it would be 0 4? I haven't edited the root file this was created when I set up the timer in Cron timers.

I'll give it a go and report back.

Thanks

Sent from my GT-I9100P using Tapatalk
 
why do you want to run it daily ?

I dont update daily
 
Ok thanks so if I was to set the time for 4am it would be 0 4? I haven't edited the root file this was created when I set up the timer in Cron timers.

I'll give it a go and report back.

Thanks

Sent from my GT-I9100P using Tapatalk

Yep try it that way m8,or set it to run during the time you are there,just to test it

Also check to make sure the script has the correct permissions i.e. 755
 
It should be /usr/script/rat_plugin_picon.sh not usr/script/rat_plugin_picon.sh if that is where thee script is. However, the script updates the plugin as the first step. It may be an idea to use thescript in the plugin directory instead.
 
It should be /usr/script/rat_plugin_picon.sh not usr/script/rat_plugin_picon.sh

Sorry Abu I do have it set as /usr/script/rat_plugin_picon.sh I changed it from the earlier screenshot.

Do I need to add anything to rats script to make it run?

Sent from my GT-I9100P using Tapatalk
 
You don't have it on that file. The crond timers are loaded at startup as far as I am aware. You must restart after changes to root file.
 
You don't have it on that file. The crond timers are loaded at startup as far as I am aware. You must restart after changes to root file.

Yes sorry the previous one was incorrect I've put that right since with the correct command.

Done a full reboot and nothing, shows in Cron Timer as time and command correct now but just doesn't run.

Sent from my GT-I9100P using Tapatalk
 
Telnet into the box and first issue the ps command to see if cron is actually running,if it is in the list,

then try the following command

/usr/script/rat_plugin_picon.sh

and see if that runs,if there are any errors it will show on the telnet window :)
 
Telnet into the box and first issue the ps command to see if cron is actually running,if it is in the list,

then try the following command

/usr/script/rat_plugin_picon.sh

and see if that runs,if there are any errors it will show on the telnet window :)

This is what I get running telnet command

Untitled.png

Abu root file attached

Thanks for your help
 

Attachments

  • root.rar
    112 bytes · Views: 10
You have not responded to Wiz's post about ps.

Where have you put the root file?
Are both plugins installed?
Why don't you use the scripts in the plugin directory?
 
Ok so the plugin runs using the script,

Did you issue the ps command to see if cron is running?
 
Correction to my last post, the plugin scripts are located in /usr/script/

Does the channel updater also work fine when executed in telnet too?
 
Back
Top