V
V
Vitaly Khvan2017-11-22 12:45:21
Task Schedulers
Vitaly Khvan, 2017-11-22 12:45:21

How to do curl with CRON task in Openserver?

In general, there is a certain script that is written to the database only when the page is launched.
How can I open this page every minute using CRON?
5a15471b43c8c690214359.pngIt doesn't work for me, but I think I'm doing something wrong.
Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Popov, 2017-11-22
@xRites

on Debian I used wget to
/usr/bin/wget/ -O -q ' site.com/link '

E
Eugene Wolf, 2017-11-22
@Wolfnsex

It doesn't work for me, but I think I'm doing something wrong.

1. Try to execute the same command in windows cmd , you will understand what exactly you are not working
2. If everything works, but does not work, try to run another program from this scheduler (the most primitive one, for example, a .bat file that creates an empty file immediately after launch), i.e. a program that works exactly and the fact of its launch is easy to check
. Thus, with a probability of 99% you will understand exactly where the error is ... in the scheduler or in the program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question