• Hiya,

    I have a plugin that requires a cron job to be run every hour. I have it installed on 100+ subdomains as well as the main domain.

    Is there anyway to setup a cron job that will then run on the domain and all subdomains, without having to setup 100+ separate cron jobs?

    Thanks in advance

    Thanks
    Eleanor

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’s the cron job? You don’t have to share all the details, just a ‘this cron job autoposts…’ or something. If it’s a job that actually only has to be run once, that would be great ?? If not, we may need to see an example of the cron command to see how to automate it for you.

    Thread Starter bubbins1987

    (@bubbins1987)

    Hey,

    Thanks for your response.

    The cron autoposts by grabbing content from multiple websites but as far as I can see it only does one post per run.

    It needs to run everyday ideally every hour (but at the moment I have it staggered so as not to overload my server with 100+ crons running at the same time).

    Here is the cron: (I’m not fussed about sharing it :-))

    wget -q -O /dev/null https://domain.com/?mppcron=jiept

    Hope that helps

    Thanks in advance

    Eleanor

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The cron autoposts by grabbing content from multiple websites but as far as I can see it only does one post per run.

    From your own websites or external ones? There are plugins that can help you with cross posts, see.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting Up A Cron Job On Multiple Sub Domains’ is closed to new replies.