Giter Site home page Giter Site logo

magento-jobqueue's People

Contributors

bfrozema avatar bramstroker avatar fgruntjes avatar gajdy avatar jasperzeinstra avatar jkowens avatar rjocoleman avatar vub-schumachera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento-jobqueue's Issues

Magento2 version

Hello Jordan,

Do you have plans to create a Magento2 version?

Kind regards,
Reijer

Publishing this project on packagist.org

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:

  • create a Git tag 0.5.0 from the current master branch
  • create an account on packagist.org and register this Git repository
  • enable auto update to let packagist publish future releases automatically

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.

Only one tagged version

Hi there,

Can you place tag your versions so we can install a stable version through composer.json?

Jobs fail to run when magento connects to mysql using socket

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().

submodule config issue

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.

Locked Job.

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.

The class DJJob does not exist.

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:8

sys:cron:run [job]

Parameters for the 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.