• Online Demo
  • 30-day Free Trial

Go Back   Blesta Forums > Community > Blesta Related

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2011, 06:24 PM
naja7host's Avatar
naja7host naja7host is offline
Senior Member
 
Join Date: May 2007
Posts: 688
Default cronjob suspend/unsuspend not working

Hello Sir;

from the begin of this mounth , the suspend/unsuspend notice not arriving , after some invistigation i found also the servie is intact (not suspended or ususpended via cronjob) .

i have run the cronjob manually but is not reflecting to the service , i get the fallowing message !!!

Attempting to unsuspend services that are now paid. No services needed to be unsuspended. Attempting to suspend services on all accounts that are past due.

i have not make any modification to blesta from so many times , also i have checked the cronjob run and i have the last run time today "Cron Last Ran: Nov 10, 2011 7:19:00 PM " .

when i run it manually i get the same result .

note that is just suspend/unsuspend not working . the invoice creation , send invoice is working perfectly .

any road to go with it to see from where is the probleme ?
Reply With Quote
  #2  
Old 11-10-2011, 09:06 PM
naja7host's Avatar
naja7host naja7host is offline
Senior Member
 
Join Date: May 2007
Posts: 688
Default

I have checked the database , cron table , i found no entries for suspend !!

just the fallowing entries ; renewdate , graphdata , attempted , emailinv , closetickets , cleanup , emailnotices , createinv , bill-cron ,

last record for suspend is 2011-10-30 00:00:01 .
Reply With Quote
  #3  
Old 11-10-2011, 09:15 PM
Paul's Avatar
Paul Paul is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Wherever I go, there I am.
Posts: 1,465
Send a message via AIM to Paul Send a message via MSN to Paul
Default

Anything in the module log?
__________________
Paul
Misc Stuff Guy

Blesta
Professional Billing
www.blesta.com
Reply With Quote
  #4  
Old 11-10-2011, 09:30 PM
naja7host's Avatar
naja7host naja7host is offline
Senior Member
 
Join Date: May 2007
Posts: 688
Default

Nothing .

any other info can i provide ?
Reply With Quote
  #5  
Old 11-11-2011, 05:39 AM
Paul's Avatar
Paul Paul is offline
Blesta Developer
 
Join Date: Apr 2006
Location: Wherever I go, there I am.
Posts: 1,465
Send a message via AIM to Paul Send a message via MSN to Paul
Default

Please check that the account is not exempt from suspension, and that the invoice was created automatically for the service and is X days past due where X is the number of days to suspend.

Is this the last output of your cron?

" Attempting to suspend services on all accounts that are past due. "

.. or is there more? Can you post the full output?
__________________
Paul
Misc Stuff Guy

Blesta
Professional Billing
www.blesta.com
Reply With Quote
  #6  
Old 11-11-2011, 09:29 AM
naja7host's Avatar
naja7host naja7host is offline
Senior Member
 
Join Date: May 2007
Posts: 688
Default

Quote:
Originally Posted by Paul View Post
Please check that the account is not exempt from suspension, and that the invoice was created automatically for the service and is X days past due where X is the number of days to suspend.

Is this the last output of your cron?

" Attempting to suspend services on all accounts that are past due. "

.. or is there more? Can you post the full output?
all what you have mentioned are ok .

Please check that the account is not exempt from suspension . (all the accopunt is not exempt).
that the invoice was created automatically (yes)
and that the invoice was created automatically for the service (yes)
and is X days past due where X is the number of days to suspend. (yes)

the full out put is

Code:
Attempting to apply any loose credits to open invoices. Attempting to charge any auto-debit accounts with invoices due soon. Attempting to deliver any invoices queued for delivery by e-mail. Done, logging to cron log. Attempting to update renew dates for services which have already renewed. Done, logging to cron log. Building clientrevenue graph data. clientrevenue graph data completed successfully. Building invoicedamt graph data. invoicedamt graph data completed successfully. Building invoices graph data. invoices graph data completed successfully. Building newclients graph data. newclients graph data completed successfully. Building revenue graph data. revenue graph data completed successfully. Building services graph data. services graph data completed successfully. Building services_canceled graph data. services_canceled graph data completed successfully. Attempting to unsuspend services that are now paid. No services needed to be unsuspended. Attempting to suspend services on all accounts that are past due.
note i have not made any modification from so many weeks in the setting or in the files !!!!!!!!
Reply With Quote
  #7  
Old 11-11-2011, 01:21 PM
naja7host's Avatar
naja7host naja7host is offline
Senior Member
 
Join Date: May 2007
Posts: 688
Default

Quote:
Originally Posted by Paul View Post
and that the invoice was created automatically for the service and is X days past due where X is the number of days to suspend.
just to note , auto suspend/unsuspend work perfectly even if the service was manually created with invoice true .
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
POP3 Tickets not working gopalmer General Discussion 7 12-10-2010 12:02 PM
Besta Ioncube version not working wnunes Pre-Sale Questions 4 09-09-2010 01:37 AM
Cronjob changes since 2.2 agisthos General Discussion 0 06-12-2010 06:31 PM
Custom Page example not working freblesta Template Creation 7 04-16-2010 12:26 AM
Piping emails to pipe.php not working. random_seed General Discussion 5 09-21-2009 04:37 PM


All times are GMT. The time now is 07:33 AM.