R
R
rinaz222020-12-01 20:59:24
Task Schedulers
rinaz22, 2020-12-01 20:59:24

Why is cron not working in VPS Vesta?

Hello. Through the Vesta panel, I create a cron task to start the script execution, but the script does not start. Although if you follow the link through the browser, it works, but not through cron.
Here is the task:
/usr/bin/php /home/admin/web/site.ru/public_html/cron/subscription.php Specified
to run every day at 08:00

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-12-02
@Sanes

Run first from the console, then transfer to cron.
The browser may be using a different version of PHP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question