Cron Jobs on all-inkl
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Cron Jobs on all-inkl
Hi!
I have a question concerning cronjobs, with which I do not have much experience.
On the hoster all-inkl TYPO3 cronjobs cannot be addressed directly, but instead a php script has to be created with this content:
What is unclear to me:
Aimeos has lots of different cronjobs, some to be called each minute, others once a month etc. Do I now have to create such a php file for each an every aimeos scheduler task separately (and change the ID in the script's line, e.g. "...scheduler:run 15>&1")? That would mean "double the trouble"...
Or is it fine to create just one such script? If so, does this one have to be called as often as that aimeos scheduler that has to be called most often (I think that would be the voucher creator scheduler)?
Thank you!
I have a question concerning cronjobs, with which I do not have much experience.
On the hoster all-inkl TYPO3 cronjobs cannot be addressed directly, but instead a php script has to be created with this content:
In the allinkl backend there is an option to link to this script, then it works as a cronjob (if my terminology is not totally wrong now...). That backend also has all kinds of configuration options that cronjobs need, like how often it is called.<?php
exec("php72 /www/htdocs/LOGIN/PFAD/typo3/sysext/core/bin/typo3 scheduler:run 2>&1", $out, $result);
echo "Returncode: " .$result ."<br>";
echo "Ausgabe des Scripts: " ."<br>";
echo "<pre>"; print_r($out);
?>
What is unclear to me:
Aimeos has lots of different cronjobs, some to be called each minute, others once a month etc. Do I now have to create such a php file for each an every aimeos scheduler task separately (and change the ID in the script's line, e.g. "...scheduler:run 15>&1")? That would mean "double the trouble"...
Or is it fine to create just one such script? If so, does this one have to be called as often as that aimeos scheduler that has to be called most often (I think that would be the voucher creator scheduler)?
Thank you!
Re: Cron Jobs on all-inkl
It's enough to call the TYPO3 scheduler once per minute and the scheduler cares about executing the tasks that should run. There's no need to create one script per task.rowild wrote: ↑05 Jan 2021, 13:18 Aimeos has lots of different cronjobs, some to be called each minute, others once a month etc. Do I now have to create such a php file for each an every aimeos scheduler task separately (and change the ID in the script's line, e.g. "...scheduler:run 15>&1")? That would mean "double the trouble"...
Or is it fine to create just one such script? If so, does this one have to be called as often as that aimeos scheduler that has to be called most often (I think that would be the voucher creator scheduler)?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
