Revision 251ca022
Added by Scott Ullrich about 18 years ago
etc/inc/services.inc | ||
---|---|---|
1228 | 1228 |
/* configure cron service */ |
1229 | 1229 |
function configure_cron() { |
1230 | 1230 |
global $g, $config; |
1231 |
if (!$g['booting']) |
|
1232 |
conf_mount_rw(); |
|
1231 |
conf_mount_rw(); |
|
1233 | 1232 |
/* preserve existing crontab entries */ |
1234 | 1233 |
$crontab_contents = file_get_contents("/etc/crontab"); |
1235 | 1234 |
$crontab_contents_a = split("\n", $crontab_contents); |
Also available in: Unified diff
Make sure we are writable for /etc/crontab