I have the following cron setup to index tags inside of cpanel for jamegafilter for my tags. This script seems to work on every other site but this this site. I have no idea what I am doing wrong. What am I doing wrong with the cron? If I manually click on the cron URL in the backend of joomla everything works. However, if I use the script below this seems to work on other sites, but not this one what is going on?

/usr/bin/lynx -source https://www.mywebsite.com/index.php?option=com_jamegafilter&task=cron&token=dDuPTz6RTG4xxxxxxxxxxxxxxxxxxxxxxxxx

    Hi jschroeder

    Did you try to check with your hosting provider for help to check this cron? as it works in backend already so there must be something wrong with this cron url on server side.

    Regards

      saguaros sorry for the delayed response. I have actually already asked my hosting company and they said that I should ask you how to write the cron job because they had tried various things and had not been able to get it to work. I saw nothing in the documentation for how to write the cron job and I had them try various things and nothing seemed to work.

      Could you please give me an example cron of how you get it to work? Then I could go back to my hosting provider and have them try it.

        Hi jschroeder

        Kindly check the component settings in admin panel of your site >> navigate to Cron job >> you can create new cron URL there + set the time + select the filter(s), you can send this url to your hosting and they can help to setup.

        Regards

          22 days later

          saguaros. Hi, sorry I have been busy on other projects. However, I have already sent this to my hosting company previously and they said what I had posted at my first post should have worked, but when they tested it themselves it was not working either. They tried various things and nothing worked so that is why I am asking for an example cPanel cron setup. I am not sure what do at this point. That is why I posted here initially.

            Hi jschroeder

            Pls ask them to use this kind of command:

            curl "https://www.your_website.com/index.php?option=com_jamegafilter&task=cron&token=dDuPTz6RTG4........"

            It should work.

            3 months later

            I have tried using the command you suggested above and unfortunately it does not seem to work. I attached a screenshot to show a sample cron I did. I have tried with /usr/local/bin/curl, with /usr/bin/curl. I don't get what I am missing or doing wrong. I wish there was documentation of the exact path and what needs to be in the cron because I just cannot get it to work. Do you have any idea what is going on?

              jschroeder
              Hi,
              Please wrap your cron url in double quote
              Ex:

              curl -s "https://joomlart.com/cron.php"
              Write a Reply...
              You need to Login to view replies.