Nowe posty

Autor Wątek: Cron  (Przeczytany 4859 razy)

mailcamel

  • Gość
Cron
« dnia: 2010-10-04, 14:34:07 »
Witajcie,

na serwerze wylistowałem wszystkie procesy crona dla wszystkich użytkowników i wyglada to tak:

mi    h     d  m  w  user    command
0     0     *  *  *  root    /usr/bin/pgpdellog.pl --days=30 /var/log/ovid >& /dev/null
0     */12  *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --update-sigs
10    0     *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --expire-delivery-receipts
*/10  *     *  *  *  root    /usr/lib/sa/sa1 1 1
*/15  *     *  *  *  root    /usr/bin/pgpkeymaint --flush-cache >& /dev/null
*/16  *     *  *  *  root    /usr/bin/pgprepctl task /usr/bin/pgpgrouptool --signal-groupd-periodic
2     0     *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --refresh-crl
5     0     *  *  *  tomcat  /usr/bin/pgpdailyemail >& /dev/null
*/5   *     *  *  *  nobody  /usr/sbin/vnstat.cron
*/5   *     *  *  *  root    /usr/bin/vacuum_tables >& /dev/null
0     1     *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --remove-expired-users
15    1     *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --expire-events
20    1     *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --expire-alerts
30    1     *  *  *  root    /usr/bin/pgppurgeexpwmemail >& /dev/null
30    1     *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --clean-exclusions
30    1     *  *  *  root    /usr/bin/pgprepctl task /usr/bin/pgpvkdsweep >& /dev/null
38    1     *  *  *  root    /usr/bin/pgpupdate >& /dev/null
0     3     *  *  0  root    /usr/bin/pgpbackup >& /dev/null
0     3     *  *  1  root    /usr/bin/pgpbackup >& /dev/null
0     3     *  *  2  root    /usr/bin/pgpbackup >& /dev/null
0     3     *  *  3  root    /usr/bin/pgpbackup >& /dev/null
0     3     *  *  4  root    /usr/bin/pgpbackup >& /dev/null
0     3     *  *  5  root    /usr/bin/pgpbackup >& /dev/null
0     3     *  *  6  root    /usr/bin/pgpbackup >& /dev/null
02    4     *  *  *  root    /etc/cron.daily/0anacron
02    4     *  *  *  root    /etc/cron.daily/bulklastaccess.cron
02    4     *  *  *  root    /etc/cron.daily/logrotate
02    4     *  *  *  root    /etc/cron.daily/makewhatis.cron
02    4     *  *  *  root    /etc/cron.daily/mlocate.cron
02    4     *  *  *  root    /etc/cron.daily/prelink
02    4     *  *  *  root    /etc/cron.daily/rpm
02    4     *  *  *  root    /etc/cron.daily/tmpwatch
02    4     *  *  *  root    /etc/cron.daily/tomcat.cron
22    4     *  *  0  root    /etc/cron.weekly/0anacron
22    4     *  *  0  root    /etc/cron.weekly/makewhatis.cron
42    4     1  *  *  root    /etc/cron.monthly/0anacron
0     23    *  *  *  root    /usr/bin/pgprepctl scan
40    23    *  *  *  root    /usr/share/ovid/db_maintainence.pl
45    23    *  *  *  root    /usr/bin/pgprepctl task /usr/share/ovid/pgprep/rep-task-cleanup.pl
53    23    *  *  *  root    /usr/lib/sa/sa2 -A


 i teraz poszukuję zadania, cronpliku, który odpowiadałby za te zadanie:

20    1     *  *  *  root    /usr/bin/pgprepctl task -t key /usr/bin/pgpkeymaint --expire-alerts


Przeszukałem crontab`a i nic. Może macie pomysł, gdzie tego procesu szukać, aby móc go wyedytować.

System to CentOS.

Macie jakieś sugestie ?

ZipoKing

  • Gość
Cron
« Odpowiedź #1 dnia: 2010-10-04, 15:01:35 »
Albo znajdziesz to w plikach w katalogu /var/spool/cron/crontabs albo w gdzieś w /etc/cron* - innej opcji nie ma ;)

mailcamel

  • Gość
Cron
« Odpowiedź #2 dnia: 2010-10-04, 17:39:38 »
dzieki, piwko dla ciebie