Issue With Cronjobs To Send Every Minute
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Issue With Cronjobs To Send Every Minute
Laravel Framework 6.20.16
Aimeos Version : 20.10.18
Php 7.4.12
Environment:Mac
Hi, I've setup the configuration needed to run the Cronjob for sending emails it works when I manually run the job for sending emails but if I want to send this job every minute it won't do this automatically. is there additional configuration needed for this?
Aimeos Version : 20.10.18
Php 7.4.12
Environment:Mac
Hi, I've setup the configuration needed to run the Cronjob for sending emails it works when I manually run the job for sending emails but if I want to send this job every minute it won't do this automatically. is there additional configuration needed for this?
Re: Issue With Cronjobs To Send Every Minute
Execute on the CLI:
Add this line there (change "/path/to/artisan" to the real path):
More documentation about cronjob setup is available here:
https://aimeos.org/docs/latest/laravel/setup/#cronjobs
Code: Select all
crontab -e
Code: Select all
* * * * * php /path/to/artisan aimeos:jobs "order/export/csv order/email/delivery order/email/payment order/email/voucher order/service/delivery subscription/export/csv customer/email/account"
https://aimeos.org/docs/latest/laravel/setup/#cronjobs
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Re: Issue With Cronjobs To Send Every Minute
Sorry i'm quite new to cronjobs, so the pathtoartisan for this would be the place my project is stored or would it be place the jobs are located within my project or just the place the project is stored in general ?
Re: Issue With Cronjobs To Send Every Minute
"/path/to/artisan" is the full path to the "artisan" file in your Laravel application directory.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Re: Issue With Cronjobs To Send Every Minute
Thank you i've set this up now, when i make a purchase I get the message in the command line saying there is new mail but the mail doesn't actually send would I have to run another command to send the mail?
-
- Posts: 12
- Joined: 15 Feb 2021, 22:23
Re: Issue With Cronjobs To Send Every Minute
When using the website in production, will emails send automatically or will I need to create an additional controller for this?
Re: Issue With Cronjobs To Send Every Minute
They will be sent if you set up the cronjob like explained.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star