Help for this page

Select Code to Download


  1. or download this
    # calculate data on run time to even previous hour
    my $dt = POSIX::strftime("%Y-%m-%d", localtime( shift( @_ ) || time ) 
    +);
    ...
    if ($db_date <= $bdt) {
        # process
    }
    
  2. or download this
    Argument "2015-04-09 12:00:00" isn't numeric in numeric le (<=) at ./c
    +hk_notify_threshold.pl line 57.
    Argument "2015-04-09..." isn't numeric in numeric le (<=) at ./chk_not
    +ify_threshold.pl line 57.