Tagged Questions
1
vote
3answers
484 views
What's wrong with these two cron job's?
I have the following cron jobs defined.
55 8 * * 3 /usr/bin/php /home/mark/dev/processes/customClient/events.php > /home/mark/dev/processes/customClient/events-`date +%Y-%m-%d ...
1
vote
1answer
208 views
How to create a cron which finds/kills/clears old puppet runs?
I am a new user of bash/cron, and I was given a task to create a cron which finds/kill/ and clears old puppet runs that were not successfully installed. The more help the better, but I am more or less ...
6
votes
1answer
1k views
List of modified files of the past 24 hours
Is there a reliable way to have a system that mails me the list of files that were modified in the past 24 hours inside a set of directories? (like /home/*/public_html/* and /home/*/*domains/*)
2
votes
1answer
63 views
App which can execute arbitrary code on different events
I've been looking for a simple activator which can execute some code when stuff happens, I haven't found anything yet. Maybe, I am not using the right keywords. It would be great if someone pointed me ...
3
votes
1answer
818 views
How do I enable locate and queue the database to be built?
On a new Ubuntu 10.4 instance, I tried to use the locate command only to receive the error
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
from using this command ...
2
votes
2answers
317 views
I need help with a cronjob to watch for runaway processes and kill them
I have an interesting situation, I have a runaway ruby process - I know exactly how I trigger it.
Point is, it got me thinking about runaway processes (CPU usage or memory usage).
How would one ...