Page Header Image

Cronjob — No such file or directory

Home Forums UM Switcher Cronjob — No such file or directory

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #82739
      RickWeirRickWeir
      Member

      I’m getting an error from the cron daemon — no such file or directory. I cut-n-pasted the URL from the UM-Switcher setup. What did I do wrong?

      /bin/sh: https://kcialliance.org/wp-admin/admin-ajax.php?action=umswticher_cronjob: No such file or directory

    • #82744
      Roy PepitoRoy Pepito
      Moderator

      Hi Rick,

      Looks like its in your cronjob configuration. It would be helpful if you can give us more details about it.

      Regards

      Roy

      • This reply was modified 1 year ago by Roy PepitoRoy Pepito.
    • #82746
      RickWeirRickWeir
      Member

      Minute Hour Day Month Weekday Command:
      0 0 * * * https://kcialliance.org/wp-admin/admin-ajax.php?action=umswticher_cronjob

      Attachments:
    • #82749
      Roy PepitoRoy Pepito
      Moderator

      Hi Rick

      I’m not familiar with your cronjob settings on your hosting but looks like you need enter some specially command. I still remember that I did this before on my personal website and I solved the issue by calling the hosting support. I’ll do some research to help you on this but if you can also contact your hosting support, that would be good.

      Regards

      Roy

      • This reply was modified 1 year ago by Roy PepitoRoy Pepito.
    • #82751
      RickWeirRickWeir
      Member

      What program should run this file? /bin/sh isn’t going to be able to run a URL. Should I be calling curl instead? Or, why not just use the file path and feed it to php?

      • This reply was modified 1 year ago by RickWeirRickWeir.
Viewing 4 reply threads
  • You must be logged in to reply to this topic.