Answers for "how to setup cronjob on cakephp on share hosting"

PHP
1

how to setup cronjob on cakephp on share hosting

/home/u280xxxxxx/domains/win.domainname.club/public_html/Console/cake Hello production 

// /home/username/domains/full_domain_name/public_html/Console/cake CronjobName production
Posted by: Guest on November-26-2020
0

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
Posted by: Guest on October-21-2020

Browse Popular Code Answers by Language