wget cron jobs

Discussion in 'General discussions' started by Hector Stivalet, Jul 8, 2016.

Tags:
  1. Hector Stivalet

    Hector Stivalet New Member

    Joined:
    Jul 8, 2016
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Hello,

    I'm a new customer here, my hosting does not support scheduled cron jobs, what I do for another web app is call them as a web service from a local linux server i.e:
    wget --spider https://bestrivieramayarentals.com/admin/cronjobs/my_cronjob.php

    I'm not very good at this and I don't know how to modify the required commands:
    /usr/bin/php -q /home/edunor/brmrealestate.com/apps/mailwizz/apps/console/console.php send-campaigns >/dev/null 2>&1
    into a wget command.

    Many Thanks in advance.

    Hector
     
  2. Hector Stivalet

    Hector Stivalet New Member

    Joined:
    Jul 8, 2016
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Hi, one more detail, I set my cron jobs using Webmin in my local server.
     
  3. OptiBiz1

    OptiBiz1 Active Member

    Joined:
    Sep 28, 2015
    Messages:
    375
    Likes Received:
    122
    S.E:
    2024-09-02 01:41:15
    L.T:
    Extended
    L.C:
    21
    Mailwizz does not support webcrons, besides you can't supply arguments like that to a script that you try to do wget on.
     
  4. Hector Stivalet

    Hector Stivalet New Member

    Joined:
    Jul 8, 2016
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    of course you can is called GET
     
  5. OptiBiz1

    OptiBiz1 Active Member

    Joined:
    Sep 28, 2015
    Messages:
    375
    Likes Received:
    122
    S.E:
    2024-09-02 01:41:15
    L.T:
    Extended
    L.C:
    21
    I meant that you can't supply arguments like the way you suggested, there is no assignment to a corresponding variable.

    MW does not support webcrons. If anyone finds a way, I would surely like to know how.
     
  6. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,380
    Likes Received:
    2,411
  7. Hector Stivalet

    Hector Stivalet New Member

    Joined:
    Jul 8, 2016
    Messages:
    4
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    It was my hosting that didn't support crontab. I had to move my domain to dreamhost, I hope it cause no problems there.

    Anyway.. Thanks for the support. Now I have to figure out how to start using MW :p.
     

Share This Page