Hi,
I'm trying ultimate cron with nodejs but it seems that ultimate cron it's not registering the channel. I'm attaching the debug message from nodejs. I implemented hook_nodejs_user_channels() from another module and it worked properly.
Drupal 7.32
Nodejs 1.19
publishMessageToContentChannel: message { channel: 'ultimate_cron',
data:
{ action: 'lock',
job:
{ progressUpdated: 0,
jid: null,
name: 'ctools_cron',
title: 'Clean up old caches',
settings: [Object],
export_type: 2,
type: 'Default',
description: 'Default cron handler',
table: 'ultimate_cron_job',
disabled: false,
hook: [Object],
sort: [Object],
lock_id: 'serial-158',
log_entry: [Object],
progress: false },
timestamp: 1414681283.861,
elements:
{ 'tr#ctools_cron .ctools-export-ui-start-time': '<td class="ctools-export-ui-start-time" title="N/A">2014-10-30 10:01:23</td>',
'tr#ctools_cron .ctools-export-ui-duration': '<td class="ctools-export-ui-duration" title=""><span class="duration-time" data-src="0">00:00</span> <span class="duration-progress"></span></td>',
'tr#ctools_cron .ctools-export-ui-status': '<td class="ctools-export-ui-status" title="running"><img src="http://localhost/gluky2/sites/all/modules/ultimate_cron/icons/hourglass.png" alt="" /></td>',
'tr#ctools_cron .ctools-export-ui-operations': '<td class="ctools-export-ui-operations"></td>' } },
callback: 'nodejsUltimateCron',
clientSocketId: '' }
publishMessageToContentChannel: <strong>The channel "ultimate_cron" doesn't exist</strong>.| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ultimate_cron-nodejs-channel-2366407-3.patch | 518 bytes | alex.bukach |
Comments
Comment #1
socialnicheguru commentedYou wrote: "I implemented hook_nodejs_user_channels() from another module and it worked properly."
Can you post your solution?
Comment #2
RealGecko commentedAny progress?
I have the same issue too.
Comment #3
alex.bukach commentedComment #5
arnested commentedThank you for the patch, Alex.
I have applied it and released version 7.x-2.9.