Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 8:36 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Currency Exchange Cronjob Elastix
PostPosted: Mon Sep 23, 2013 7:33 pm 
Offline

Joined: Fri Mar 01, 2013 8:53 pm
Posts: 39
Hello, i have A2billing 1.9.4 running like a charm in my Elastix box, but i would like to update the currency exchange rate every day at 1 PM, i found a topic here where you guys explain something about cron, i tried to do it, but i could not find the route

Code:
su asterisk
then crontab -e
0 * * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_alarm.php
0 * * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_alarm.php
0 12 * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_batch_process.php
0 2 * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_bill_diduse.php
0 6 1 * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_check_account.php
0 6 1 * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_invoice_cront.php
0 6 1 * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_subscription_fee.php
0 6 * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/currencies_update_yahoo.php


But if i search the directory in my box, it doesn't exist
this is what i have in /var/lib/asterisk/agi-bin/, inside this directory i found this
Code:
[root@EASPbx ~]# cd /var/lib/asterisk/agi-bin/
[root@EASPbx agi-bin]# ls
a2billing_monitoring.php    fixlocalprefix        phpagi.php
a2billing.php               hangup.agi            queue_devstate.agi
checksound.agi              imap.agi              sql.php
dialparties.agi             intervenir.agi        user_login_out.agi
directory                   list-item-remove.php  wakeconfirm.agi
enumlookup.agi              nv-weather.php        wakeup.php
festival-script.pl          pbdirectory           weather.agi
festival-weather-script.pl  phpagi-asmanager.php


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group