Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

CRON setup help using cron-job.org

Sorry to ask this but having spent a day on it and
getting nowhere I am pulling what hair I have left out  .. I have followed http://osticket.com/wiki/POP3/IMAP_Setting_Guide
my only option is external because my host does not support pipping or scheduling.
I created a API key in line with details and with cronjob IP 195.201.26.157 and set it up here https://cron-job.org  I have tried every combination but I just
can't get it to work ... any ideas?

I think the website is http://www.{my domain}/support/api/cron.php

I have tried with and without http authentication
The set the request method to GET the header to ‘wget’ and the value to
‘-q -O /dev/null --user-agent={my API key}I have tried lots of changes, revisions and configuration but all of
them just return with ‘cron.php only supports local cron calls - use http ->
api/tasks/cron’


Comments

  • Perhaps this will assist you?
    https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-osticket

    easy-cron.com isn't cron-job.org but the basics are the same.
  • Thank ntozier but rcron has been dropped in latest version and is not included. I had see the easycron site and instructions however there is not a new version that describes how to use the cron file with the additional settings that easycron has.
  • rcron is in the latest version.  I'm not sure why you would think that it is not.
  • Sorry, I used an auto install from my host so it was includedm just downloaded the install file from the osticket site and it's in a seperate script folder.
    Have tried this easycron and it is still not working ... however I will keep trying

  • Copied the easycron setup and I am now getting:

    HTTP/1.1 404 Not Found
    Date: Fri, 08 Jun 2018 20:31:47 GMT
    Server: Apache
    X-Powered-By: PHP/7.0.29
    Vary: Accept-Encoding
    Content-Type: text/html; charset=UTF-8
    X-Varnish: 1044864028
    Age: 0
    Via: 1.1 varnish (Varnish/6.0)
    Content-Length: 25
    Connection: keep-alive

    No input file specified.

    Guess it is the PHP version? Will try other versions.
  • Same error message with PHP5.6

  • It is because my host is FastCGI not suPHP - i have found a solution here https://uname.pingveno.net/blog/index.php/post/2013/06/29/osTicket,-wget,-crontab-and-FastCGI
    But how do I call cron like that remotely?
  • I'm not sure what you mean. 
    You configure the rcron.php file.  
    You put it in a web accessible location.
    You use the remote cron service to call the file.
Sign In or Register to comment.