V
V
vankark2019-11-24 21:32:26
Task Schedulers
vankark, 2019-11-24 21:32:26

How to configure cron to run commands from a web server?

When setting up the CMS on the hosting, I encountered a system error related to writing to the cache folder, which means insufficient rights on the hosting. (If you clear the cache, the error disappears, but after a while it reappears.)
The CMS developers advised checking all files/folders to see if they belong to the web server user and, additionally, that CRON tasks are also run from the web server, and not from root.
I don’t understand much in the server settings, tell me how to check and do it all?
(hosted by firstvds + ispmanager panel).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mahmudchon, 2019-11-24
@mahmudchon

You can specify from which user to run the task, for example:
The cron.php file will be executed every minute from www-data .
It may be different for you, but the essence is the same.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question