Cron jobs for controller task
Hello,
I am trying to set up a Cron job through CPANEL for a mailer script on a joomla site. As specified by the vendor of the mailer program I have entered the following command into my Cron job with just an example domain name not the real one
wget -O /dev/null "mywebsite.com/index.php?opti...8ecf8427e&format=raw
Resolving mywebsite.com... 69.89.31.158
Connecting to mywebsite.com|69.89.31.158|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: "/dev/null"
0K 6.24M=0s
2015-03-26 07:25:05 (6.24 MB/s) - "/dev/null" saved [41]
I am relatively new to CRON jobs, and not sure what this means. I can see that it connects fine but not sure what "Length: unspecified [text/html]" means. Any help would be great!
-
This is actually a question about the data wget retrieves, not cron itself. "Length: unspecified [text/html]" means that there is no length specified in the header sent back from the server that hosts the URL you are loading with wget. It is common for dynamically-generated pages - like the index.php script you are loading - to not return a size in their headers. I did a Google search for the message and I found this in the search results. It indicates that you can pass the --server-response argument to wget to see the headers that wget receives: 0 -
Hi, We are running a classified website, it's domain.com and have implemented multiple cron and is working fine. The cron command looks like wget -O /dev/null domain.com/mytestlinklinkforcron 0 -
We are running a classified website, it's domain.com and have implemented multiple cron and is working fine.
Hello :) Could you elaborate on the specific issue you are facing if it's working as expected? Thank you.0
Please sign in to leave a comment.
Comments
3 comments