how to setup cronjob on cakephp on share hosting

Solutions on MaxInterview for how to setup cronjob on cakephp on share hosting by the best coders in the world

showing results for - "how to setup cronjob on cakephp on share hosting"
Melyna
21 Jun 2020
1/home/u280xxxxxx/domains/win.domainname.club/public_html/Console/cake Hello production 
2
3// /home/username/domains/full_domain_name/public_html/Console/cake CronjobName production
Maximilian
15 Sep 2018
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