Could not parse the requested URI error with RO CSVI cron

Since Joomla 4 there is a change in the way cron commands are processed, this can lead to a Could not parse the requested URI error with the cron job setup as explained in Setting up a cron job in RO CSVI. This document explains a possible workaround on how to run a cron job using a bash script.

  1. Create a bash script file in your site root folder (here the location is /home/domain/public_html/) or a location you want to set in cron command. Say the bash script file name is
  2. Open file and add the below contents
    #!/usr/bin/env bash
    cd /home/domain/public_html/administrator/components/com_csvi/helper
    /usr/local/bin/php cron.php --key="mysecretword" --template_id="123"
  3. Now in your control panel you can set the cron command as
    /usr/local/bin/bash /home/domain/public_html/

Kindly note

1. Replace /home/domain/public_html/ to your site folder path

2. Replace mysecretword with template secret key as set in cron template

3. Replace 123 to template ID as per cron template

Related Articles