Cronjob OK with Siteground server
« on: July 27, 2021, 05:08:01 PM »
Hi, for those interested, after several attempts I was able to find the working command line for cronjob that works with websites hosted by Siteground. Here the example:

Code: [Select]
/usr/bin/wget --spider "http://yoursitename.com/index.php?page=cron"
Return reply (is an example that I have recived in email from my server alert):

Spider mode enabled. Check if remote file exists.
--2021-07-27 15:00:01--  http://yoursitename.com/index.php?page=cron
Resolving yoursitename.com (yoursitename.com)... 35.214.185.39
Connecting to yoursitename.com (yoursitename.com)|35.214.185.39|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://yoursitename.com/index.php?page=cron [following]
Spider mode enabled. Check if remote file exists.
--2021-07-27 15:00:01--  https://yoursitename.com/index.php?page=cron
Connecting to yoursitename.com (yoursitename.com)|35.214.185.39|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
« Last Edit: July 27, 2021, 08:15:20 PM by Federico Bergna »

*

MB Themes

Re: Cronjob OK with Siteground server
« Reply #1 on: July 27, 2021, 05:35:09 PM »
Thanks for your guide, very appreciated  :)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots