实际上,我想在 HostGator cpanel 上制作的应用程序中运行 cron 作业,但我的 url 无法正常工作。
wget www.luvkushfinserve.com/Blog/auto_cron
如果你想每天每 5 分钟运行一次,那么添加它 -
* /5 * * * wget www.luvkushfinserve.com/Blog/auto_cron
Use
php index.php welcome show
as command in your crontab. Eg:
0 * * * * php /home/username/index.php welcome show
Source (ver. 2.2.0) http://www.codeigniter.com/userguide2/general/cli.html
Source (ver. 3.*) http://www.codeigniter.com/user_guide/general/cli.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.