1crontab -l; -> get all current crontab in system
2crontab -e -> execute cronjob
3
4// Example
5// At 12:00 evening run on time
60 12 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake LessonRemindNotification staging
7
8// 1 minutes run one times
9/1 * * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake ExecutePush staging
10/1 * * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateClassStatus staging
11
12// At 5:00 morning run one time
130 5 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateClassStatusAddStudentStampPaidTeacher staging
14
15// At 1:00 morning run one time
160 1 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateStudentEnrolTimeoutStatus staging
170 1 * * * cd /Applications/XAMPP/htdocs/masterx && Console/cake UpdateTeacherPurchasePlanTimeoutStatus staging
18