1. Anonymous User
  2. RO CSVI
  3. Wednesday, 04 September 2019
  4.  Subscribe via email
Hi,
Sometimes an export is not working. But as it works with Cronjob, I have no idea when this is. Is there an option to get a notification when something went wrong?

Regards, Carst
Accepted Answer Pending Moderation
Hello Carst,

I guess it depends on what has gone wrong. With cronjobs you can set an email address where the output of the cronjob goes to. So whenever a script runs and output is generated, this will be emailed to the given email address.

If something just dies and no output is generated, there is no way of knowing this. In that case you would need some sort of script that verifies the cronjob finished successfully.
Kind regards,

RolandD

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello Roland,

The cronjob is working, that I know because I get an email as well with the export as .CSV. That is for me the sign the export did his job.
But in the same export, there must be transferred this .CSV to an SFTP-server. And this is not always working. When I see the logs in CSVImproved, the latest error was: no connection possible.

So, what I see is that CSVImproved does know when it isn't finished the way it should. It would be helpfull if in that case there is an email alert or something.

We are using the export to get webhop orders shipped by an shipment company. When export fails, orders can't be sent.

Regards, Carst
  1. 2 weeks ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Carst,

You just said there is an error not a description of what error. Your description of the error is not that of the process dying/exiting, so yes follow-up actions might be possible.

So I ran the cronjob with an incorrect SFTP setup and I get this output:
cronjob_error_output.png

Although not pretty, the output is there telling me there is an error. This should be emailed by the server to the email address set in the crontab.

Do you get those emails or is no email address setup yet in the crontab?
Attachments (1)
Kind regards,

RolandD

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!