• hi, I read the 2 guides on this, and the link to the paid for addon which I wont be buying to make this work. I have a question regarding setting up the cron job.

    if Im running this directly via php, what would the path be? i.e. to run existing crons I use
    */5 * * * * php /srv/www/path/43f9/htdocs/wp-cron.php
    if I adjust to use your idea, it would look like
    */5 * * * * php /srv/www/path/43f9/htdocs/?pipes=cron&task=callaio
    but I think it will fail as no file path is specified, perhaps I should be put index.php?pipes etc
    ?
    If your addon cant be run on schedule without a $29 addon, you need to put that in the description. I would like to get it working properly though as it seems pretty good.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Tung Pham

    (@phamtungpth)

    Hi,

    Why do you think the schedule not work without the add-on? Itself could run schedule all of your pipes as the guide at https://thimpress.com/schedule-auto-posting-pipes-cron-job/ –> https://www.screencast.com/t/ImNxXxuwq6l

    The add-on is only an advanced option for you in case you want to run cron with each pipe. Using that add-on, you could control separately running cron for a pipe.

    Best Regards!

    Thread Starter webfeat

    (@webfeat)

    Sorry for the confusion. I’ve read a number of replies to tickets here and that addon was suggested in all of them to make it work.

    For me, I just have 1 pipe that I want to make work via crontab. I cant use an internet url so need to use a server side one.
    I already tried the link you posted but due to my requirements it does not work for me which is why I posted the info above. I cant use Curl or wGet. I need to use something like :
    */5 * * * * php /srv/www/path/43f9/htdocs/wp-cron.php
    which works fine for all my other tasks but doesnt call this one. What path should I use?

    Plugin Contributor Tung Pham

    (@phamtungpth)

    Hi,

    I am very sorry for not replying you soon because of the weekend!

    In case your host does not allow running cronjob as the guide at https://thimpress.com/schedule-auto-posting-pipes-cron-job/ mentioned, I think you could try with cronjob on other services, such as: https://www.easycron.com/

    Because our plugin does not support cronjob with wp-cron.php

    Best Regards!

    Thread Starter webfeat

    (@webfeat)

    hi
    no that wont work.
    Its being used on a work intranet, the hosting isnt the issue. The issue is the site security that blocks it from the outside world also blocks a cron if its using the public url.
    What I need is the name of the file that actually runs the cron so I can call it via php i.e.
    */5 * * * * php /srv/www/path/43f9/htdocs/[FILE NAME HERE]?pipes=cron&task=callaio
    it must be called from somewhere, I tried index.php but that resulted in an error.

    so again, a full public url will not work in any way, from any provider or service. I need the internal path so php can run it internally. This should be perfectly possible.

    Plugin Contributor Tung Pham

    (@phamtungpth)

    Hi webfeat,

    Currently, WPPipes does not support the way which you are asking. You could only use 1 way for running your pipes automatically is by somehow, the link yoursite_url/?pipes=cron&task=callaio must be executed.

    Best Regards!

    Thread Starter webfeat

    (@webfeat)

    thanks for the reply. Thats very disappointing

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

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