mirror of
https://github.com/YunoHost-Apps/lutim_ynh.git
synced 2024-09-03 19:36:24 +02:00
27 lines
500 B
Perl
27 lines
500 B
Perl
|
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
|