Jump to content
  • 0

Cron Not Working After Moving Blesta


Question

Posted

Hi,

 

I just now moved blesta to another server, i changed the db config and re-issued licesne etc and got into admin fine. But after setting up the cron I am getting cron email which says:

 

---

On noes!

 

Undefined variable: argv on line <strong>24</strong> in <strong>/home/avissplc/public_html/billing/index.php

---

 

How to fix ??

 

Thanks.

8 answers to this question

Recommended Posts

  • 0
Posted

Hi,

 

I was using earlier /usr/bin thing but I found out that host has disabled argv thing. So I then changed to cli and now its working. But the email I get from cron does'nt supports HTML tags and all the cron output comes in a single line.

  • 0
Posted

HI,

 

Yes I had updated. That command was not working, so I did the following one and its working but html is coming in 1 line with tags!

 

Command:

 

---

GET http://www.avissoft.com/billing/cron/?cron_key=somekey

---

 

And output is coming like this:

 

---

Attempting to run all tasks for Avis Software.<br />Attempting to apply credits to open invoices.<br />There are no invoices to which credits may be applied.<br />The apply credits task has completed.<br />Attempting to deliver invoices scheduled for delivery.<br />No invoices are scheduled to be delivered.<br />The deliver invoices task has completed.<br />Attempting to provision paid pending services.<br />The paid pending services task has completed.<br />Attempting to unsuspend paid suspended services.<br />The unsuspend services task has completed.<br />Attempting to process service changes.<br />The process service changes task has completed.<br />Attempting to process renewing services.<br />The process renewing services task has completed.<br />Attempting plugin cron for order accept_paid_orders.<br />Finished plugin cron for order accept_paid_orders.<br />All tasks have been completed.<br />Attempting to run all system tasks.<br />All system tasks have been completed.<br />

---

 

Tags are not coming as html. They are coming as text!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...