Ok here goes I've been trying with this for the past 24 hours to no avail. I am using the video upload module to allow users to upload videos (particularly their commercial ads) to my site which in turn is sent to youtube for processing then rendered on my site. However the video playback is only possible after cron is executed. The problem is rules seem to be the only option but I seem to have hit a road block I can't seem to get the action of run cron after content is saved. I do not want to wait until the next schedule cron to run for the videos to be updated. Please advise if this is possible and how. I'll be most grateful
Comments
Comment #1
Anonymous (not verified) commentedAdd an action "execute custom PHP code" and execute cron by PHP:
module_invoke_all('cron');Comment #2
mitchell commentedComment #3
mitchell commentedComment #5
adit234 commentedhello there..
Thanks for the work you have done so far on this module.
that code (
module_invoke_all('cron');) was for run cron for all of modules, isn't that right...?what if i want to run cron only for one module, ex: node module...?
sorry for some idiotic question, i'm still newbie in drupal and php....:D
thanks
adit
Comment #6
firfin commentedQuestion does not seem related to Original Post. Which was answered adequately.
usage of module_invoke_all is not really a question about Rules anyway.
Please open another issue (I think in general/drupal thread might be best) if you still have problems after reading https://api.drupal.org/api/drupal/includes!module.inc/function/module_in...