Answer the question
In order to leave comments, you need to log in
Why is Cron not executing the script?
If you open https://site.ru/cron from a browser , the system is accruing bills. Each time the page is refreshed in the browser, an accrual occurs.
I add it to cron, it doesn’t start, I decided to check it by executing the command:
root# wget site.com/cron
--2016-02-27 00:33:54-- http://site.com/cron
Resolving site.com (site.com)... 192.124.249.8
Connecting to site.com (site.com)|192.124.249.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Saving to: 'cron.27'
0K 0.00 =0s
2016-02-27 00:33:54 (0.00 B/s) - 'cron.27' saved [0/0]
Answer the question
In order to leave comments, you need to log in
CRON "understands" ONLY FULL paths!!! What's in your line, what's in the script being run - it doesn't matter. Nobody is going to fix this, because it happened with SYSV.
You can find out the path to the program with the which or whereis command.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question