Configuration
Ticaga pullsretrieves 10 emails every 2 minutes withoutusing overlapping,a thisnon-overlapping scheduling mechanism. This approach ensures that if an IMAP server isexperiences slowdelayed toresponse respond,times, subsequent scheduled runs are skipped rather than initiating concurrent jobs. This design prevents excessive CPU load and eliminates the next schedule run skips insteadrisk of startingduplicate anotheremail job and causing a high cpu load. It also prevents duplication of emails.processing.
HowConnect dovia weSSH get set-up?
You need to log intousing the username onestablished SSHduring whichTicaga youinstallation. created when installing Ticaga. In ourOur documentation weuses use ticaga
or demo,demo
dependingas onexample whichusernames guidefor you'reillustrative following,purposes. For security best practices, we hoperecommend youusing pickeda yourunique ownusername, forthough securitythe reasonsfinal butchoice that'sis up to you.yours.
sudo su ticaga
Now we want to set-up the cronjob for Laravel's scheduler:
export EDITOR=nano;
crontab -e
First we set the editor to nano, this is the basic editor, you can use vi but in our option Nano is better.
Then we edit the crontab.
Paste in the following cronjob:
* * * * * cd /var/www/ticaga && php artisan schedule:run >> /dev/null 2>&1
Ctrl + X and Y to save and close the editor.
To check that it's set to run, you can run the following command:
crontab -l
It'll output the above.