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