AzBox HD Crond & SCDXCas

elgeneral

Registered
Messages
7,811
AzBox HD Crond & SCDXCas

If You want to make that AzBox HD run automatically Key updates, and that You dont need to do it manually You can do this by simple putting cron.tab file in Crond plugin folder and no need to force update manually.

Just create cron.tab file, and put this inside :

Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin

HOME=/EMU/OpenXCAS/Cron/

# run-parts
0 * * * * /EMU/OpenXCAS/SCDXCas/SCDXCas


For this, You need to have installed Crond plugin and SCDXCas plugin.

I attached also mine cron.tab file, where Crond plugin execute every 1 hour. SCDXcas plugin.

That is all, enjoy.

NOTE:

file cron, cron.tab, and run.sh must have 755 CHMOD permissions


Gracias NeotionBox
 

alepanz

Registered
Messages
2
Thanks!
But If I want to make a script to kill and reboot newcs at specific hour?
It's possible?
Thanks
 

Mr X

Registered
Messages
23
alepanz

All you have to do is change to part that says

/EMU/OpenXCAS/SCDXCas/SCDXCas

To point to your newcs, for example it may be like this

/EMU/OpenXCAS/newcs/newcs

The /EMU/OpenXCAS part is correct, the next bit /newcs is the name of the folder that contains the newcs files, the last bit /newcs is the name of the newcs executable.

I hope that explains it :D
 

alepanz

Registered
Messages
2
Yes, thanks for your reply.

But with the script on the top I execute every hour an apps;
I need to kill /EMU/OpenXCAS/newcs/newcs
and re-execute /EMU/OpenXCAS/newcs/ ./newcs -nd every day at 6:00 am.
It's possible?
Thanks
 
Top