0

I'm maintaining a server which runs mailman. In it I find a crontab which looks like the following:

0 8 * * * list [ -x /usr/lib/mailman/cron/checkdbs ] && /usr/lib/mailman/cron/checkdbs
0 9 * * * list [ -x /usr/lib/mailman/cron/disabled ] && /usr/lib/mailman/cron/disabled
...

When I type list I get

No command 'list' found ..

My searches for "crontab list", "linux list command", "mailman cron list" bring up results for listing things.

What does list in crontab do ?

What command is list refering to ?

invad0r
  • 220
  • 1
  • 8

1 Answers1

1

Lines in the system crontab (which is what I think you're looking at) have six fixed fields plus a command, in the form:

minute hour day-of-month month day-of-week user command

This is different from the per-user crontab which lacks the user field.

My guess is that list is the mailman user on that system. This user is usually called mailman, but for whatever reason someone thought list was better (more generic?).

Kusalananda
  • 320,670
  • 36
  • 633
  • 936