A
A
avtorlego2017-07-05 19:55:50
linux
avtorlego, 2017-07-05 19:55:50

Why is cron not sending http request?

In the file /etc/crontab there is this line:
* * * * * wget -O /dev/null -q ' easylink.cf/VKEasyClass/stats.php '
there is still http, just toster replaces it
And the request does not go every minute, it doesn't work at all!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
F
Fixid, 2017-07-05
@avtorlego

create command.sh and call * * * * * bash /root/command.sh

S
Saboteur, 2017-07-05
@saboteur_kiev

Most likely it does not find wget
Specify the full path to wget

S
Sanes, 2017-07-05
@Sanes

Try using lynx console browser

S
silverjoe, 2017-07-05
@silverjoe

First asterisk - better specify */1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question