Help for this page

Select Code to Download


  1. or download this
            my $tasks_to_do = $self->search(
                            {
    ...
                            }
            );
    
  2. or download this
    BEGIN {
            $ENV{TZ} = 'Australia/Sydney';
    }
    
  3. or download this
    $schema->storage->dbh_do(sub {"SET TIMEZONE='Australia/Sydney'"} );
    
  4. or download this
    sessions=> SET TIMEZONE='UTC';
    SET
    sessions=> select * from mytable where scheduled_run_time <= NOW() and
    + status = 'pending';
    
  5. or download this
    sessions=> SET TIMEZONE='Australia/Sydney';
    SET
    sessions=> select * from mytable where scheduled_run_time <= NOW() and
    + status = 'pending';