Cron is a job scheduler that allows users to run commands periodically.
3
votes
1answer
77 views
How can I peek at the output of a running crontab task on OpenBSD?
I have an hourly hour-long crontab task running with some mtr (traceroute) output every 10 minutes (that is going to go for over an hour prior to it being emailed back to me), and I want to see the ...
1
vote
1answer
190 views
Use /etc/aliases for outgoing mail relayed by postfix with local domain
I'm using Ubuntu 12.04 with postfix configured as satellite system that relays outgoing mail to Gmail. For sake of example, my registered domain is example.com I want root cronjobs' error output to be ...
1
vote
1answer
103 views
security concern around adding cron user to web application group
I have a permissions issue on my CentOS 5.6 machine with regards to the cron user.
On my test/staging environment my cron user (picco-cron) is a member of one group - picco-cron, as below:
...
1
vote
1answer
173 views
How do I push a Mercurial repository to BitBucket over ssh?
I created a public key for ssh and registered that key with BitBucket. I then attempted to push:
$ hg push ssh://jhayward@bitbucket.org/johncharrell/[project name]
pushing to ...
0
votes
1answer
16 views
how to automatically cleanup failed PHP uploads in /tmp?
How can I automatically cleanup failed uploads?
PHP is storing them in /tmp and all file names look like phpAbCDeF (basically php followed by 6 characters).
I know that I can use the command:
find ...
0
votes
1answer
72 views
run-parts ignores jobs.deny
I use run-parts to run all scripts under a directory,the same way crontab does. But the jobs deny and jobs allow don't block any of the scripts in the directory.
rajeevs@rajeev:/home/rajeevs/test$: ...
3
votes
0answers
256 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?
...
2
votes
0answers
27 views
Use dedicated per-user log file for cron and?
On Ubuntu 12.04 how can I configure cron to log to a particular file when it runs jobs as a particular user? I am interested in redirecting both the messages that go into auth.log and those going into ...
1
vote
0answers
62 views
External HDD read/write permission changing from a cron job
So, I run an overnight python script that runs a backup of our web data in the /var/www directory, then moves the backups to an external HDD in /media. The script in scheduled in the sudo crontab ...
1
vote
0answers
41 views
Lock a script starting daemons
I'm run a script with cron:
*/10 * * * * flock -n /tmp/lock script
I have to make sure that only one instance of the script is running at the same time, and for that I'm using flock. The problem is ...
1
vote
0answers
287 views
Cron file syntax checker/validator script
Does anyone know a script (bash, perl, php ...) to validate the syntax of crontab files?
I found this http://www.intuitive.com/wicked/showscript.cgi?053-verifycron.sh but just Vixie cron notation is ...
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 ...
0
votes
0answers
74 views
CakePHP shell as cron permissions issue
First to say that I know basics of Linux systems. I am familiar with cron jobs. I am using CakePHP shell as cronjob.
The script is using model's method to download pages from site user entered. ...
0
votes
0answers
95 views
Facing issue with cron on embedded linux
I have a SAM9 based board running embedded linux using buildroot package.
I added the crond and crontab support to busybox from make menuconfig and built the rootfs and flashed it to my board.
The ...