• Resolved webfeat

    (@webfeat)


    hi
    Trying this plugin out today and have a question.
    On the cron option, it uses a full url path i.e. :
    0 * * * * /usr/bin/curl –silent domain.com/?pull-feeds=fa1a14aac622fe395ca1275fd21a7eb3

    I cant use this due to intranet security. Is there an internal path I can use with php? by not including the file name that actually runs the crob I dont know what to put.
    i.e .something like
    */5 * * * * php /srv/www/path/43f9/htdocs/[File Name]?pull-feeds=fa1a14aac622fe395ca1275fd21a7eb3

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor cyberseo

    (@cyberseo)

    You should ask your host admin about this. I don’t know your server config, the security restriction rules etc.

    Thread Starter webfeat

    (@webfeat)

    sorry but its nothing to do with the host. This, for example
    */5 * * * * php /srv/www/path/43f9/htdocs/wp-cron.php
    works perfectly for all wordpress crons except yours because yours doesnt appear in the WP Cron list.

    All Im asking you is for the file name that runs your task because if I try
    */5 * * * * php /srv/www/path/43f9/htdocs/?pull-feeds=fa1a14aac622fe395ca1275fd21a7eb3
    it fails because php doesnt know what file its supposed to call. Surely there is a file within the website root that can be called with your pull-feeds parameter?

    Plugin Contributor cyberseo

    (@cyberseo)

    It should execute your index.php of course. I mean index.php of your WordPress site.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cron path’ is closed to new replies.