1. barracuda69
  2. RO CSVI
  3. Friday, 04 April 2025
  4.  Subscribe via email
Hi,

This may be outside of your area of expertise but since the cron job is executed, my hosting provider can't provide much help :( so I thought maybe you could...

I'm running a cron command to sequentially execute a number of php files and templates. The command is: 30 */8 * * * /bin/bash /usr/home/adagii/public_html/xml.sh

All templates run just fine through the admin area and all php files can be called and executed just fine through a browser.

Attached are a number of files related to this problem.

Do you see anything in those files that might be causing this issue?

Thank you in advance!

Dennis
Attachments (4)
    
Accepted Answer Pending Moderation
Hello Dennis,
Honestly I am not good at bash script but from what I read from the script log file is that the connection to http://www.adagio.gr has a problem and gets a 500 error. There is not much details on what and where this 500 error is coming from. Check server error logs and see if you can find any details on the 500 error
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 5 days ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Thank you T! Will do.
  1. 5 days ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hi Dennis,

The one issue I see that may be the cause is that in your bash script you have all the import XML commands below each other. What happens here is that all these commands are executed at the same time, in other words, you are pretty much hammering the server. It might be good to add a sleep command of some kind or do a check of some kind before running the next import command.

I see you are calling the cleandb.php via wget, isn't it possible to call the file directly? As far as I can tell you are on the same server.

Let me know if that helps.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 days 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!