mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-03-28 17:42:54 +01:00
28 lines
545 B
Perl
28 lines
545 B
Perl
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
|
package Lutim::Command::cron;
|
|
use Mojo::Base 'Mojolicious::Commands';
|
|
|
|
has description => 'Execute tasks.';
|
|
has hint => <<EOF;
|
|
|
|
See 'script/lutim cron help TASK' for more information on a specific task.
|
|
EOF
|
|
has message => sub { shift->extract_usage . "\nCron tasks:\n" };
|
|
has namespaces => sub { ['Lutim::Command::cron'] };
|
|
|
|
sub help { shift->run(@_) }
|
|
|
|
1;
|
|
|
|
=encoding utf8
|
|
|
|
=head1 NAME
|
|
|
|
Lutim::Command::cron - Cron commands
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
Usage: script/lutim cron TASK [OPTIONS]
|
|
|
|
=cut
|