Would you like to ask me how to set up the master machine to "help me write a program at a fixed time every day 」? For example, I sent a message using phpmailer ~ If you want to configure a self-sent message "Three o'clock a day" to every user in the mysql database, how do you configure it 」? May I ask?
I am a bluehost)
Would you like to ask how to set the host to "set a fixed time every day to help me prepare a program 」?
For example, I sent a message using phpmailer ~
If you want to configure a user-created message, such as "three o'clock every afternoon", to each user in the mysql database
But how do I configure it 」?
Reply content:
May I ask?
I am a bluehost)
Would you like to ask how to set the host to "set a fixed time every day to help me prepare a program 」?
For example, I sent a message using phpmailer ~
If you want to configure a user-created message, such as "three o'clock every afternoon", to each user in the mysql database
But how do I configure it 」?
I don't know if bluehost can be crontab. If yes
Crontab basic format:
* Command
Hour, day, month, and Week commands
The 1st column indicates minute 1 ~ 59 per minuteOr/1 indicates
The first column indicates the hour 1 ~ 23 (0 indicates 0 points)
The 3rd column indicates the date 1 ~ 31
The 4th column indicates the month 1 ~ 12
The identification number of column 5th is from day of the week to day ~ 6 (0 indicates Sunday)
6th columns of commands to run
「 PM 」 self-sent to every user in the mysql database
* 15 * * * /usr/bin/php phpmailer
If yeslinux
Usecrontab
Consult customer service and tell him that you want to schedule the task. You must first write the corresponding business as an interface address.
With scheduled tasks, workerman can be used if it is a server.