I suspect the reason for cron trouble is that cron gets a very small restricted set of environment variables. Set PATH and such in your crontab.
More important, I would shy from this project. Setting up user mail aliases should not involve letting users grant shell accounts to anyone they take a notion to.
After Compline,
Zaxo
In reply to Re: useradd with perl and cron
by Zaxo
in thread useradd with perl and cron
by true
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |