jkowens / magento-jobqueue Goto Github PK
View Code? Open in Web Editor NEWA database backed asynchronous job queue for Magento
License: MIT License
A database backed asynchronous job queue for Magento
License: MIT License
Hello Jordan,
Do you have plans to create a Magento2 version?
Kind regards,
Reijer
When someone wants to install this Magento extension via Composer, it will not be possible by running composer require jkowens/magento-jobqueue
. That's because Composer reads available packages from packagist.org repository. So this Git repo should be submitted to there in order to make the package available. In addition each new version should be tagged, that way packagist can automatically publish new versions.
Things to do:
I've created a fork and published it here: https://packagist.org/packages/elvetemedve/magento-jobqueue
I'll remove it as soon as the original package is available on packagist.
Hi there,
Can you place tag your versions so we can install a stable version through composer.json?
Need to make sure this module meets the latest security guidelines. See SUPEE-6788.
Hi,
Thanks for the very useful module!
I found that jobs silently fail to run when magento is configured to connect to mysql using a socket, eg (in local.xml):
<default_setup>
<connection>
<host><![CDATA[/Applications/MAMP/tmp/mysql/mysql.sock]]></host>
...
</connection>
</default_setup>
I presume that these values are not valid when parsed as arguments in Worker::setupDJJob().
Hi!
The submodule djjob can't be cloned when I clone the magento-jobqueue with modman.
$ modman clone https://github.com/jkowens/magento-jobqueue.git
Cloning into 'magento-jobqueue'...
remote: Counting objects: 364, done.
remote: Total 364 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (364/364), 37.06 KiB | 0 bytes/s, done.
Resolving deltas: 100% (118/118), done.
Checking connectivity... done.
Submodule 'lib/DJJob' ([email protected]:seatgeek/djjob.git) registered for path 'lib/DJJob'
Cloning into 'lib/DJJob'...
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of '[email protected]:seatgeek/djjob.git' into submodule path 'lib/DJJob' failed
Error trying to clone new module 'magento-jobqueue', operation cancelled.
Hello,
I have been using your module for some time and it is great, but in recent days I am getting the following message when my cron is called:
[2017-10-23T17:48:07+00:00] [JOB] attempting to acquire lock for job::56 on host::webserver3 pid::15857
My job gets situation "In Progress" forever, have you ever come across this problem?
Thank you very much.
I installed the jobqueue via Composer using magento-hackathon/magento-composer-installer.
When I try to run the cron job, I get the error below. I can see seatgeek/djjob in the vendor directory.
Can I get guidance where to look for possible mistakes?
bin/n98-magerun.phar sys:cr:ru jobqueue_default -v
[Mage_Core_Exception]
The class DJJob does not exist. Please add the class to /lib/DJJob/DJJob.php OR install DJJob via magento-composer-installer. See https://github.com/jkowens/magento-jobqueue for more de
tails.Exception trace:
() at /vagrant/public/app/Mage.php:605
Mage::throwException() at /vagrant/vendor/inviqa/worldpay-module/vendor/jkowens/magento-jobqueue/app/code/community/Jowens/JobQueue/Model/Worker.php:7
include() at phar:///vagrant/bin/n98-magerun.phar/vendor/composer/ClassLoader.php:412
Composer\Autoload\includeFile() at phar:///vagrant/bin/n98-magerun.phar/vendor/composer/ClassLoader.php:301
Composer\Autoload\ClassLoader->loadClass() at n/a:n/a
spl_autoload_call() at n/a:n/a
class_exists() at /vagrant/public/app/code/core/Mage/Core/Model/Config.php:1346
Mage_Core_Model_Config->getModelInstance() at /vagrant/public/app/Mage.php:473
Mage::getModel() at phar:///vagrant/bin/n98-magerun.phar/src/N98/Magento/Command/System/Cron/RunCommand.php:67
N98\Magento\Command\System\Cron\RunCommand->execute() at phar:///vagrant/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257
Symfony\Component\Console\Command\Command->run() at phar:///vagrant/bin/n98-magerun.phar/src/N98/Magento/Command/AbstractMagentoCommand.php:445
N98\Magento\Command\AbstractMagentoCommand->run() at phar:///vagrant/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:882
Symfony\Component\Console\Application->doRunCommand() at phar:///vagrant/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:195
Symfony\Component\Console\Application->doRun() at phar:///vagrant/bin/n98-magerun.phar/src/N98/Magento/Application.php:581
N98\Magento\Application->doRun() at phar:///vagrant/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at phar:///vagrant/bin/n98-magerun.phar/src/N98/Magento/Application.php:641
N98\Magento\Application->run() at /vagrant/bin/n98-magerun.phar:8sys:cron:run [job]
Is there a way I can pass a parameter to a specific task?
For example, I need to synchronize a particular product as I pass the id of this product to the task.
Is there such a possibility?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.