Эта команда будет запускать вашу команду каждую минуту. Это действительный синтаксис.
Вот детали gory из info crontab:
The first five fields shall be integer patterns that specify the
following:
1. Minute [0,59]
2. Hour [0,23]
3. Day of the month [1,31]
4. Month of the year [1,12]
5. Day of the week ([0,6] with 0=Sunday)
Each of these patterns can be either an asterisk (meaning all valid
values), an element, or a list of elements separated by commas. An ele‐
ment shall be either a number or two numbers separated by a hyphen
(meaning an inclusive range). The specification of days can be made by
two fields (day of the month and day of the week). If month, day of
month, and day of week are all asterisks, every day shall be matched.
If either the month or day of month is specified as an element or list,
but the day of week is an asterisk, the month and day of month fields
shall specify the days that match. If both month and day of month are
specified as an asterisk, but day of week is an element or list, then
only the specified days of the week match. Finally, if either the month
or day of month is specified as an element or list, and the day of week
is also specified as an element or list, then any day matching either
the month and day of month, or the day of week, shall be matched.
Статья, с которой вы связаны, выглядит как хорошая. Это дает вам несколько хороших примеров, и это на самом деле легче читать, чем выдержка из man-page, которую я привел здесь. Вы должны иметь возможность использовать синтаксис, о котором он говорит.
Согласно моему crontab, @daily работает в 6:25 утра.
$ grep daily /etc/crontab
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
Вы можете попробовать установить local::lib. Но вам, вероятно, придется переустановить некоторые модули Perl.
sudo apt-get install cpanminus cpanm --local-lib=~/perl5 local::lib eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) echo "export PERL5LIB=\"$HOME/perl5/lib/perl5\"">>~/.bashrc && echo "export PERL_MB_OPT=\"--install_base '$HOME/perl5'\">>~/.bashrc && echo "export PERL_LOCAL_LIB_ROOT=$HOME/perl5">>~/.bashrcТеперь откройте новый терминал (или запустите source ~/.bashrc) и попробуйте установить некоторый модуль Perl.
[d9 ]Работает на меня! Надежда работает и для вас! В противном случае это означает, что ваша установка CPAN нарушена. В этом случае используйте команду sudo dpkg --list | grep libcpan, чтобы перечислить все пакеты cpan, сначала попробуйте обновить пакеты.Если все еще не работает, попробуйте удалить и переустановить все из них! После этого установите local::lib снова, повторив приведенные выше шаги.