Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mysqlで設定したdatetimeカラムが現在時刻になったときにプログラムを実行したい。それを行う便利な方法はありますか?
ありがとう。
必要な時間にプログラムを実行するには、cronjob を使用します。データベースとのやり取りを扱うプログラムをphpまたは任意の言語で作成します。次に、そのプログラム ファイルを特定の時間間隔で cronjob として実行するようにします。