crontab MAILTO and config problems
I have two problems about using crontab.
1. usually I put MAILTO to the crontab, so that output msgs of jobs are recorded. but is there a way to disable this feature on some of the jobs in crontab while keeping it on others? you know, sometimes i have a job scheduled to run very frequently, say once every five mins, and i may never worry it would go wrong. i don't want it to flood my mailbox.
if i cannot disable mailto on some jobs of one crontab, is there a way to create several crontabs for single user?
2. i always use "crontab -e" to edit my crontab. and i found actually the data is stored at /var/spool/cron/username. but i'd like the crontab to be stored at my home directory as all other apps config data. this faciliates the backup of my home directory and app settings. does cron provide anything like .cron file at home directory that it will be applied?
thanks!
|