Forums

Cron Job Plugin (6 posts)

  1. semfiguras
    Member
    Posted 1 year ago #

    Hi all,

    is it possible to run a cron job to trigger a few plugins automatically?

    i already have tried to curl and wget the link that i get from the button that triggers the function on the plugin but it does not work.

    do i have to make a php page with the link and access to my wp and run a cron on that, or what are my options?

    Ty
    Take care

  2. webjunk
    Member
    Posted 1 year ago #

    Would hep do not specifically what you are trying to do.

  3. semfiguras
    Member
    Posted 1 year ago #

    Hi,

    I'm running a sub directory wordpress multisite, and I have 2 plugins that I would like to automate, therefore not needing to log in and press the button to run the function.

    one of the plugin button has this path:

    http://www.domain.com/sub-directory/wp-admin/?page=plugin&_wpnonce=39e468ed71&p=&action=run&_fid=5

    i have tried to set up a cron with:
    *curl link; and
    *wget link

    but without success in running the plugin function.

    i would like then to know if there is a way for me to run this plugin fuction with a cron job?

    Ty
    Take care

  4. webjunk
    Member
    Posted 1 year ago #

  5. semfiguras
    Member
    Posted 1 year ago #

    Hi Webjunk,

    Thanks for your effort in helping me out.

    The solution you gave me has one problem that is it will only trigger when someone visits my site.

    I wanted a command to input in a cron job to go around this.

    Once again, thanks for your time

    Take care

  6. anasbd
    Member
    Posted 1 year ago #

    Hey Experts,

    How can I add wp_schedule_event for multisite plugin. That event will fire for all blog across the network. It is easy to add in single site blog. I'll wonder if anyone help me as early as possible.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic