cronjob cakephp
crontab -l; -> get all current crontab in system
crontab -e -> execute cronjob
// Example
// At 12:00 evening run on time
0 12 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake LessonRemindNotification staging
// 1 minutes run one times
/1 * * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake ExecutePush staging
/1 * * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateClassStatus staging
// At 5:00 morning run one time
0 5 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateClassStatusAddStudentStampPaidTeacher staging
// At 1:00 morning run one time
0 1 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateStudentEnrolTimeoutStatus staging
0 1 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateTeacherPurchasePlanTimeoutStatus staging
Also in PHP:
- HOW TO GET LAST INSERTED ID FROM TABLE IN SQL IN CODEIGNITER
- comment acceder à la base de données phpmyadmin sur mac ave
- error messaging php
- create new projec in laravel
- find a specific word in a string and add another string after that specific word php
- add validation for webp image in laravel
- am and pm in php
- array length php
- array_search
- create new seeder laravel
- cache laravel
- echo message or display default message php
- encode image to base64 in php
- fetch value from json link in php
- custom time php function
- age date de naissance php
- array get only the value without duplicate
- base 64 encode decode not same php
- adding header function to href php
- date to string php
- echo fread($myfile,filesize("webdictionary.txt"));
- date time stamp php
- 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `shoppingcart` add primary key `shoppingcart_identifier_instance_primary`(`identifier`, `instance`))
- date format php datetime