Set the hosts host to "help me write a program at a fixed time every day 」?

Source: Internet
Author: User
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 yeslinuxUsecrontab

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.