V
V
Vladimir Zharinov2017-04-20 09:58:17
PHP
Vladimir Zharinov, 2017-04-20 09:58:17

Cron does not work in ispmanager. How to setup?

I want to set up a database backup using Sypex dumper. Without planning, it works (screenshot).
I'm trying to set up cron in IspManager - it doesn't work.
The cron line looks like this:

php /var/www/user/data/www/site.ru/sxd/index.php -h=localhost -u=username-p=pass -j=crn

Where am I wrong?
bd7793d7fc42464c9ad8d763a508c3b0.jpgUpd. message arrives in the mail:
Notice: Undefined index: HTTP_ACCEPT_LANGUAGE (/var/www/user/data/www/site.ru/sxd/index.php:52)Auth error

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Nikolaev, 2017-04-20
@gromdron

Do you have backups in ISPManager?
en.ispdoc.com/index.php/Ispmgr-backupplan

A
Artem Ivanov, 2019-10-28
@ns174ru

php -f "file"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question