How to create cron job using PHP?

前端 未结 12 1524
一整个雨季
一整个雨季 2020-11-21 05:50

I\'m new to using cron job. I don\'t even know how to write it. I have tried to search from internet, but I still don\'t understand it well. I want to create a cron job that

12条回答
  •  情话喂你
    2020-11-21 06:17

    Added to Alister, you can edit the crontab usually (not always the case) by entering crontab -e in a ssh session on the server.

    The stars represent (* means every of this unit):

    [Minute] [Hour] [Day] [Month] [Day of week (0 =sunday to 6 =saturday)] [Command]
    

    You could read some more about this here.

提交回复
热议问题