• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Would hep do not specifically what you are trying to do.

    Thread Starter semfiguras

    (@semfiguras)

    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

    Thread Starter semfiguras

    (@semfiguras)

    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

    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

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

The topic ‘Cron Job Plugin’ is closed to new replies.