Giter Site home page Giter Site logo

cakephp-queue-plugin's People

Contributors

chrisjohnson avatar webtechnick avatar zeroasterisk 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

Watchers

 avatar  avatar  avatar  avatar  avatar

cakephp-queue-plugin's Issues

CakePHP-Queue-Plugin on Windows does'n works

Hi,
I can create job (add to queue) , but not process it :

C:\wamp\www\ruseller\app>cake Queue.queue process

Welcome to CakePHP v2.5.3 Console

App : app

Path: C:\wamp\www\ruseller\app\

Processing Queue.
'uptime' is not recognized as an internal or external command,
operable program or batch file.
Error: Unable to retrieve load avearge from uptime.
#0 C:\wamp\www\ruseller\app\Plugin\Queue\Model\QueueTask.php(358): QueueUtil::cu

rrentCpu()
#1 C:\wamp\www\ruseller\app\Plugin\Queue\Model\QueueTask.php(432): QueueTask->ne

xt(1, true, true)
#2 C:\wamp\www\ruseller\app\Plugin\Queue\Model\QueueTask.php(479): QueueTask->ru

nList()
#3 C:\wamp\www\ruseller\app\Plugin\Queue\Lib\Queue.php(110): QueueTask->process(

)
#4 C:\wamp\www\ruseller\app\Plugin\Queue\Console\Command\QueueShell.php(219): Qu

eue::process()
#5 C:\wamp\www\cake\lib\Cake\Console\Shell.php(437): QueueShell->process()
#6 C:\wamp\www\cake\lib\Cake\Console\ShellDispatcher.php(209): Shell->runCommand

('process', Array)
#7 C:\wamp\www\cake\lib\Cake\Console\ShellDispatcher.php(66): ShellDispatcher->d

ispatch()
#8 C:\wamp\www\cake\lib\Cake\Console\cake.php(54): ShellDispatcher::run(Array)
#9 {main}


May be I'm wrong.

BTW, Good job.

Stop works, after changing status to "2:inprogress"

I'm testing your plugin. When I have some records in queue_tasks table ( about 5000 rows),
I manually run command "cake Queue.queue process" ('limit' => 100) it works, first time , second time but in one moment without any errors I see all my tasks staying in queue, and status changes only, and if I run command "cake Queue.queue run ID " it's push process.

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.