Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 6:33 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Autorefil
PostPosted: Thu Oct 15, 2015 2:13 pm 
Offline

Joined: Mon Mar 28, 2011 12:52 am
Posts: 39
Hi everyone
Is there any solution to make autorefil even if the custommer has credit. I would like to do thid evey 1st of each month


Top
 Profile  
 
 Post subject: Re: Autorefil
PostPosted: Mon Oct 19, 2015 9:48 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Yes, there is an autorefill function, but bear in mind that it won't actually take money from Paypal etc, just increase the balance.

Joe


Top
 Profile  
 
 Post subject: Re: Autorefil
PostPosted: Mon Oct 19, 2015 11:49 am 
Offline

Joined: Mon Mar 28, 2011 12:52 am
Posts: 39
i KNOW this function but what I want is to do it for each 1st of a month


Top
 Profile  
 
 Post subject: Re: Autorefil
PostPosted: Tue Oct 20, 2015 12:39 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Set the cronjob for this function to run on the first of the month.

Joe


Top
 Profile  
 
 Post subject: Re: Autorefil
PostPosted: Tue Oct 20, 2015 2:51 pm 
Offline

Joined: Mon Mar 28, 2011 12:52 am
Posts: 39
Help to show me how to do it

In /var/spool/cron/asterisk I can see

#autorefill
0 10 21 * * php /usr/local/a2billing/Cronjobs/a2billing_autorefill.php
15 * * * * php /usr/local/a2billing/Cronjobs/a2billing_batch_cache.php


Top
 Profile  
 
 Post subject: Re: Autorefil
PostPosted: Fri Oct 30, 2015 4:56 pm 
Offline

Joined: Mon Mar 28, 2011 12:52 am
Posts: 39
thank you I've found the solution . I change 0 10 21 to 1 0 1


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 12 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