Jump to content

SowWun

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by SowWun

  1. Hmm, I rechecked my cert and i did upload all parts, however I didn't install some perl module ( Crypt::SSLeay ), I did that, and everything seems smooth and fine

    Now I think it is working when I use 

    Quote

    GET https://***.com/clients/cron/?cron_key=DEARR7nW

    but my cron reports sends me a full html page of my blesta portal page XD, sorry for being a newbie.. super confused :(

  2. I cant edit the post, but an update ~ 

     

    I ran this command 

    wget --no-check-certificate https://****.com/clients/cron/?cron_key=DEARR7nW

     

    And I got this as a log file :

    Quote

    --2017-09-11 07:50:01--  https://****.com/clients/cron/?cron_key=DEARR7nW
    Resolving ****.com... ****.61
    Connecting to ****.com|1****.61|:443... connected.
    WARNING: cannot verify hostkoala.com’s certificate, issued by “/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA”:
      Unable to locally verify the issuer’s authority.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: https://****.com/clients/ [following]
    --2017-09-11 07:50:02--  https://****.com/clients/
    Reusing existing connection to ****.com:443.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [text/html]
    Saving to: “index.html?cron_key=DEARR7nW.1”

    But I dont think it ran as I cant see any logs from activity log from Blesta interface tho :(

  3. Thanks ! My plesk is the webadmin edition, I dont see a fetch URL button, but instead i used this command :

    curl -k https://***.com/clients/cron/?cron_key=DEARR7nW

    It seems to go okay ( No error log message ), but instead, I get this message :

      

    Quote

    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed

      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

     

  4. After checking, 

    /usr/bin/php /var/www/vhosts/****.com/httpdocs/clients/index.php cron

    is indeed correct, however i get this error

     

    PHP Parse error:  syntax error, unexpected '[' in /var/www/vhosts/****.com/httpdocs/clients/config/services.php on line 3

  5. Hi, I'm having a little trouble running my cronjob via scheduled tasks in Plesk

    I am running Blesta 4.0.1

     

    This is my scheduled task list

     

    /usr/bin/php /var/www/vhosts/****.com/httpdocs/clients/index.php cron

     

     

    I set it at every 5 minutes, everyday, every week/month, but it doesnt seem to run :(, anyone else have a prob like mine?

×
×
  • Create New...