Skip to content

Commit 7f7b8eb

Browse files
committed
Doc
1 parent a7991f5 commit 7f7b8eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/Documentation SellYourSaas - Master and Deployment Servers - EN.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3676,16 +3676,15 @@ You must have inside the cron of user *admin* (You can view the cron with *cront
36763676
---------------
36773677
# m h dom mon dow command
36783678
# cron master admin
3679-
*/10 * * * * [ "$(hostname -I | awk '{print $1}')" = "ip.of.master.server" ] && /home/admin/wwwroot/dolibarr/scripts/cron/cron_run_jobs.php <securitykeydefinedinscheduledjobsetup> anonymousbatch >> /home/admin/wwwroot/dolibarr_documents/cron_run_jobs.php.log 2>&1
3679+
*/10 * * * * /home/admin/wwwroot/dolibarr/scripts/cron/cron_run_jobs.php <securitykeydefinedinscheduledjobsetup> anonymousbatch >> /home/admin/wwwroot/dolibarr_documents/cron_run_jobs.php.log 2>&1
36803680
5 5 * * * /home/admin/wwwroot/dolibarr/htdocs/custom/sellyoursaas/scripts/batch_customers.php updatestatsonly >> /home/admin/logs/batch_customers-updatedatabase.log 2>&1
36813681
7 7 * * * /home/admin/wwwroot/dolibarr/htdocs/custom/sellyoursaas/scripts/git_update_sources.sh /home/admin/wwwroot/dolibarr_documents/sellyoursaas/git >> /home/admin/logs/git_update_sources.log 2>&1
36823682
# cron master and deployment admin
36833683
#7 7 * * * /home/admin/wwwroot/dolibarr/htdocs/custom/sellyoursaas/scripts/git_update_sellyoursaas.sh /home/admin/wwwroot >> /home/admin/logs/git_update_sellyoursaas.log 2>&1
36843684
5 0 * * * /home/admin/wwwroot/dolibarr/htdocs/custom/sellyoursaas/scripts/batch_customers.php backupdelete >> /home/admin/logs/batch_customers-backup.log 2>&1
36853685
---------------
36863686

3687-
Note: *ip.of.master.server* is the IP of the server so if you clone the server on another instance with another IP, you are sure the batch won't be executed on the new server without a manual change here, *securitykeydefinedinscheduledjobsetup* is the value of the key to decide. And *anonymousbatch* is the user dedicated for batch processing. You will set them
3688-
later on the Dolibarr master.
3687+
Note: *securitykeydefinedinscheduledjobsetup* is the value of a key you have choosen. And *anonymousbatch* is the user dedicated for batch processing. Remember the 2 value you use hare, you will set them later on the Dolibarr master.
36893688

36903689

36913690
==== On deployment servers

0 commit comments

Comments
 (0)