Go Back   SharingDVB All Tutorials sharing > Emulator Files > CCcam,Oscam,csp,multics Files

Thread Tools Display Modes
Old 12-18-2014, 02:22 AM   #1
nagra 3
Join Date: Dec 2014
Posts: 59
Arrow MultiCS END-DATE Script

1. download the script from attachment and place it anywhere you want (I will consider /usr/script/ as default path)
2. This is the tricky one:
- open your multics.cfg and on EACH CLIENT you want to use end-date add this:

HTML Code:
#End-date = dd-mm-yyyy
dd-mm-yyyy being DATE WHEN CLIENT'S USAGE EXPIRES (check Example)
HTML Code:
F: username password #End-date = 06-02-2014
4. If your multics.cfg is not in /var/etc/ or it's name isn't multics.cfg you need to open the script and edit these two variables:
HTML Code:
NOTE: the script is intended to delete the user that are expiring "TOMOROW", so if you add new cronjob that will run the script at 23:59h every day, you have everything covered


5. add a cronjob something like this:

59 23  * * *  root  /usr/script/enddate.sh
If you want to test the script, do it like this:

- add tomorrow's date to one of your clients, but with the EXACT SYNTAX AS SHOWN ABOVE
- run the script
- check your multics.cfg, you should see # (hash) in front of your client containing tomorrow's date
#F: user password #End-date = 06-02-2014
Attached Files
File Type: rar enddate.rar (485 Bytes, 82 views)
nagra 3 is offline   Reply With Quote

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:35 PM.
[email protected]
A vBSkinworks Design