Tagged Questions
0
votes
0answers
31 views
Cron logs describe a successful run that never happened
I run a daily job that uploads data from one server to another, and today I noticed that it failed silently two days ago - no mail got sent, and the jobs were never run. But when I look at the crontab ...
3
votes
4answers
128 views
How to stop monthly cron output email
Server is Debian 6.0. In /etc/aliases I have;
root: me@mydomain.com
This is so that root emails get sent directly to me. Today, a monthly script I have placed into /etc/cron.monthly has emailed me ...
2
votes
1answer
369 views
Periodically download attachments from mail box
Is there a preferably CLI based program I can use to regularly (through cron for example) use to check a mailbox, and download the attachments into a folder?
I have a mailbox called ...
1
vote
1answer
106 views
crontab sets up user variable, redirect output, and detect connetcted network
I have three problem, all of them are about crontab.
Can I access $HOME variable in crontab ? for example, use $HOME like this:
PATH=$HOME/bin:$HOME/scripts:$PATH ? or * * * * * echo "test" > ...
3
votes
0answers
255 views
cron is ignoring MAILTO
I have big trouble with cron. On Debian 6, it is ignoring the MAILTO variable. Is there some other variable that has to be to set for cron to send emails to a different email address then local root?
...
0
votes
3answers
559 views
I want to set up a basic cron job that sends an email
I am running OS X 10.7 and I am learning unix commands. I would like to set up a very basic cron job that sends me an email with a certain message.
How would I go about this. From what I have read, I ...
0
votes
2answers
576 views
Sending cron output to email?
I'm trying to send cron output to an email address and am struggling... I'm running the following command:
13 15 * * 1-5 root /path/to/mysql-backup.sh 2>&1 | mail -s "Daily Database Backup ...
4
votes
3answers
471 views
Crontab job not emailing on failure
I have a cron job on Debian:
1 * * * * /home/paradroid/bin/myscript.sh >/dev/null
There is an installed and configured MTA, and I have received emails when the script has a syntax error, so I ...
3
votes
1answer
57 views
When I schedule a command with 'at', can I change where the output is mailed to?
When I schedule a job/command with at to be executed in the future, the standard output and error of the command is "mailed" to the user that did the scheduling.
So after my job runs, I get a message ...