[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] ezjail-admin update -P



2008/7/14 Proskurin Kirill <k.proskurin AT fxclub DOT org>:
Christoph Sold wrote:
Within cron scripts, prepend the complete path to the binaries, or add the missing path components.

Cron uses a strictly sanitized path for security reasons.
--
Christoph Sold

Yes, im know it.
Im run it like this:

/usr/local/bin/ezjail-admin update -P

But it is not help at all.

Write a small shell script which adds the missing PATH components:

#!/bin/sh
PATH="$PATH:/usr/bin:/usr/sbin"
/usr/local/bin/ezjail-admin update -P

Call this script from cron.
--
Christoph Sold