1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lutim_ynh.git synced 2024-09-03 19:36:24 +02:00
lutim_ynh/sources/lutim-master/lib/Lutim/Command/cron.pm

27 lines
500 B
Perl
Raw Normal View History

2014-10-06 13:19:51 +02:00
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