Log message #4124014

# At Username Text
# Mar 12th 2018, 11:22 mansi helllo
# Mar 12th 2018, 10:33 joddit Here is a plugin that may be useful https://github.com/dereuromark/cakephp-queue
# Mar 12th 2018, 10:28 joddit Or Scheduler
# Mar 12th 2018, 10:27 joddit If system is Linux, I would use batch
# Mar 12th 2018, 10:26 pjadhav how to create and handle Queue on system side with Throttle
# Mar 12th 2018, 10:22 joddit Ok
# Mar 12th 2018, 10:22 joddit If it's working you will see "WHERE player IS NULL"
# Mar 12th 2018, 10:22 turkles I am doing this in a shell :S but yes it is working great
# Mar 12th 2018, 10:21 joddit Depending on your query, check the SQL in your debug kit
# Mar 12th 2018, 10:21 turkles Ah, ok I will try thanks
# Mar 12th 2018, 10:21 joddit 'player IS' => NULL
# Mar 12th 2018, 10:21 joddit not equal
# Mar 12th 2018, 10:21 joddit Use IS clause
# Mar 12th 2018, 10:20 turkles what is best way to find rows where a value is null? I tried where(['player' => null])->limit(5) and got a syntax error: syntax to use near 'NULL LIMIT 5'
# Mar 12th 2018, 10:17 joddit And interact with that via cake
# Mar 12th 2018, 10:17 joddit I would handle the queue on the system side
# Mar 12th 2018, 10:16 pjadhav or component
# Mar 12th 2018, 10:16 pjadhav array inside controller
# Mar 12th 2018, 10:15 pjadhav problem is create Static Array which will hold this jobs
# Mar 12th 2018, 10:15 pjadhav APIs defined to accept req, delete req
# Mar 12th 2018, 10:14 joddit https://book.cakephp.org/2.0/en/console-and-shells.html#shell-tasks
# Mar 12th 2018, 10:14 joddit Youch
# Mar 12th 2018, 10:14 pjadhav i m using cakephp 2.45
# Mar 12th 2018, 10:13 joddit https://book.cakephp.org/3.0/en/console-and-shells.html#shell-tasks
# Mar 12th 2018, 10:13 pjadhav only problem is putting jobs in sequence and handling queue
# Mar 12th 2018, 10:12 pjadhav well
# Mar 12th 2018, 10:12 pjadhav it is executing
# Mar 12th 2018, 10:12 joddit Either way, I would say this is going to be your best bet https://book.cakephp.org/3.0/en/console-and-shells.html
# Mar 12th 2018, 10:12 pjadhav there is no problem in creating files and processing
# Mar 12th 2018, 10:11 joddit Like what kind of file
# Mar 12th 2018, 10:11 joddit Creates a file how?
# Mar 12th 2018, 10:10 pjadhav in cakephp how can I put throttle for Queue which hold jobs that are executing currently
# Mar 12th 2018, 10:09 pjadhav Hi I want to create queue for job which create files based on json request?
# Mar 12th 2018, 09:22 joddit Morning
# Mar 12th 2018, 09:21 neon1024 Morning everyone
# Mar 12th 2018, 09:16 dereuromark There are not many other things that can be wrong IMO.
# Mar 12th 2018, 09:16 dereuromark Which to me sounds like a cache issue. It doesnt yet know the schema.
# Mar 12th 2018, 08:52 joddit Wha?
# Mar 12th 2018, 08:48 bakro.istvan No I havent I will try it..., but I with debugkit that the PUT request does queries the db for the new tag and it does not exists. After that I am missing the INSERT query :(
# Mar 12th 2018, 07:43 joddit :clap:
# Mar 12th 2018, 07:43 joddit Just re add whatever customizations you added of course