Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: functions_task.php 4028 2008-07-19 11:04:48Z ZiNgaBuRgA $
| * $Id: functions_task.php 5379 2011-02-21 11:06:42Z Tomm $
|
*/
/**
| */
/**
|
Zeile 57 | Zeile 57 |
---|
{ if($task['logging'] == 1) {
|
{ if($task['logging'] == 1) {
|
add_task_log($task['id'], $lang->missing_task);
| add_task_log($task, $lang->missing_task);
|
} $cache->update_tasks(); return false;
| } $cache->update_tasks(); return false;
|
Zeile 216 | Zeile 216 |
---|
{ if(build_next_run_bit($task['weekday'], $current_weekday) != false) {
|
{ if(build_next_run_bit($task['weekday'], $current_weekday) != false) {
|
$next_weekday - build_next_run_bit($task['weekday'], $current_weekday);
| $next_weekday = build_next_run_bit($task['weekday'], $current_weekday);
|
} else { $next_weekday = fetch_first_run_time($task['weekday']); } $next_day = $current_day + ($next_weekday-$current_weekday);
|
} else { $next_weekday = fetch_first_run_time($task['weekday']); } $next_day = $current_day + ($next_weekday-$current_weekday);
|
if($next_day < $current_day)
| if($next_day <= $current_day)
|
{ $next_day += 7; }
| { $next_day += 7; }
|