| 1 |
<?php |
<?php |
| 2 |
// $Id: poormanscron.admin.inc,v 1.1 2008/02/06 16:35:17 robloach Exp $ |
// $Id: poormanscron.admin.inc,v 1.1.2.1 2008/04/27 09:40:29 robloach Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 13 |
$form['time_intervals'] = array('#type' => 'fieldset', '#title' => t('Time intervals')); |
$form['time_intervals'] = array('#type' => 'fieldset', '#title' => t('Time intervals')); |
| 14 |
$form['time_intervals']['poormanscron_interval'] = array( |
$form['time_intervals']['poormanscron_interval'] = array( |
| 15 |
'#type' => 'textfield', '#title' => t('Cron runs interval'), |
'#type' => 'textfield', '#title' => t('Cron runs interval'), |
| 16 |
'#default_value' => variable_get('poormanscron_interval', 60), |
'#default_value' => variable_get('poormanscron_interval', 180), |
| 17 |
'#size' => 5, '#maxlength' => 10, |
'#size' => 5, '#maxlength' => 10, |
| 18 |
'#description' => t('Minimum number of minutes between cron runs. Cron will actually execute during the first page request after the interval has elapsed.') |
'#description' => t('Minimum number of minutes between cron runs. Cron will actually execute during the first page request after the interval has elapsed.') |
| 19 |
); |
); |