Hello, I need a cron for one of my client, he want run this php file in the following folder /web/_s/sp.hp Followin de Documentation .... Command to run (commands are executed via sh, urls via wget) /var/www/clients/clientX/webY/myscript.sh or http://www.mydomain.com/path/script.php An so ... I had setup up in ISPConfig Cron Jobs, http://www.sin-limite.com.ar/_s/sp.php In /etc/cron.d/ispc_web5 file with ... MAILTO='' SHELL='/bin/sh' 0 * * * * web5 /usr/bin/wget --no-check-certificate --user-agent='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0' -q -t 1 -T 7200 -O /var$ What is te best way to check is working fine or not, because in syslog and cron log there aren't any information about the script is working fine or not. Thanks Nestor Mazza
Please do not reopen a thread which has been closed 7 years ago just to ask how to see if your cronjob works..... I moved your post to a new thread.
And for the answer, take a look at the access.log of the site, you should see a request to the URL there.
Till, Hello again! I can see in the access.log ... IPv6 - - [07/Feb/2020:16:43:43 -0300] "POST /wp-cron.php?doing_wp_cron=1581104623.7097179889678955078125 HTTP/1.1" 200 234 "http://yourdomain.com/wp-cron.php?doing_wp_cron=1581104623.7097179889678955078125" "WordPress/5.2.5; https://yourdomain.com" ----- Looks fine!, Nestor Mazza