Promotions

我们能为您提供什么帮助?

搜索我们的指南和教程,或浏览下方分类。

How do I configure a cronjob?

Hosting 2.1k 次浏览 Markdown

This information mentions the path to the PHP parser (/path/to/php/parser). For Versio, this is:

/usr/local/bin/php -q -f

For php 7 domains u will have to use : 

/usr/local/php70/bin/php70 - q -f

Your cronjob (the part you enter in the Command field) will look as follows:

/usr/local/bin/php -q -f /home/*your username*/domains/*your domain name*/public_html/cronjob_file >/dev/null 2>&1

We recommend always using the above-mentioned line, instead of the method via wget.

这对您有帮助吗?

感谢您的反馈!

仍需帮助?

如果上述内容未能解答您的问题,我们的支持团队全天候为您服务。