diff options
Diffstat (limited to 'utils/rhrd-schedules')
-rwxr-xr-x | utils/rhrd-schedules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules index 7a83458..cee3f3d 100755 --- a/utils/rhrd-schedules +++ b/utils/rhrd-schedules @@ -78,7 +78,7 @@ sub generate $show->{'START_TIME'} = ($start->hour * 3600) + ($start->minute * 60) + $start->second; push @shows, $show; } - my ($result, $status, $errorstring) = RHRD::rddb::create_schedule_log($ctx, $year, $month, $day, @shows); + my ($result, $status, $errorstring) = RHRD::rddb::create_or_update_schedule_log($ctx, $year, $month, $day, @shows); unless(defined $result) { print "$status: $errorstring\n"; return 1; |