How to install cron

前端 未结 5 433
伪装坚强ぢ
伪装坚强ぢ 2020-12-14 01:21

I want to run PHP scripts automatically on a schedule. I learned about CRON recently. But I don\'t know how to install and use it.

I\'m using PHP, CSS, HTML, and ru

5条回答
  •  -上瘾入骨i
    2020-12-14 02:01

    Install cron on Linux/Unix:

    apt-get install cron
    

    Use cron on Linux/Unix

    crontab -e
    

    See the canonical answer about cron for more details: https://serverfault.com/questions/449651/why-is-my-crontab-not-working-and-how-can-i-troubleshoot-it

提交回复
热议问题