User Tools

Site Tools


adding_custom_php_to_drupal_chron_directory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
adding_custom_php_to_drupal_chron_directory [2017/08/18 08:59] tomgleadding_custom_php_to_drupal_chron_directory [2017/08/18 09:09] (current) tomgle
Line 2: Line 2:
  
  
-From Statckoverflow://+From Stackoverflow:\\
 If you need to run code just once, you can do it without installing any module, including the Devel module. If you need to run code just once, you can do it without installing any module, including the Devel module.
  
Line 12: Line 12:
    */    */
   define('DRUPAL_ROOT', getcwd());   define('DRUPAL_ROOT', getcwd());
 +  
   include_once DRUPAL_ROOT . '/includes/bootstrap.inc';   include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
   drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);   drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
adding_custom_php_to_drupal_chron_directory.1503061169.txt.gz · Last modified: 2017/08/18 08:59 by tomgle