Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

programmatically create a custom cron job drupal 7

function YOURMODULE_cron(){
  if( date('G') == 19) ){ // At 19'o clock
    // Code here
  }
}
Source by www.drupal.org #
 
PREVIOUS NEXT
Tagged: #programmatically #create #custom #cron #job #drupal
ADD COMMENT
Topic
Name
3+6 =