The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
26 views

Detect which scripts are using old interpreters

I have a few Debian machines with some nearly-orphaned script interpreters, for example /bin/bash3 and /usr/bin/perl510. How can I detect those scripts that still have the aforementioned interpreters ...
1
vote
0answers
78 views

Incrontab does not execute command

I have copied this question over here from unix.StackOverflow When I use incrontab out of the box, I mean no changes, I get no result, as if the cmd was not executed. my incron line is : /crrae ...
0
votes
2answers
249 views

Running python script in incrontab in Debian

I have a user, dropbox, that runs the Dropbox daemon, I want to monitor the directories in the Dropbox directory for new files and run a python script when they appear. I have the python script that ...
0
votes
1answer
452 views

What is wrong with my Watcher (incron-like) daemon?

I have installed Watcher this way: both watcher.py and watcher.ini are located in /etc I also installed pyinotify and it does work when I use python -m pyinotify -v /var/www However, I want to use ...
0
votes
3answers
432 views

debian symlink existing daemon incrond to start at boot

I'm triying to start the incron daemon "incrond" at boot but doesn't work. I have done : ln -s /usr/sbin/incrond /etc/init.d/incrond chmod 755 /etc/init.d/incrond update-rc.d incrond enable But no ...
1
vote
2answers
1k views

Run a script as root from apache

I would like to update my hosts file and restart dnsmasq from a web interface (php/apache2). I tried playing around with suid bits (the demonstaration). I have both apache and dnsmasq running on an ...
1
vote
1answer
1k views

Setting up inotify (incron) to monitor several directories using asterisk

I am trying to create an entry in /etc/incron.d/ that'd monitor all changes done under the following directories: /var/www/virtualhosts/dev.anuary.com/*/*/public/css Now, I assume this should be as ...
1
vote
2answers
680 views

incrontab watching files uploaded through vsftpd

I have a process where users ftp particular files to /home/ftp/file1.txt & /home/ftp/file2.txt any given time of the day. I setup incrontab with the following: /home/ftp/file1.txt IN_CLOSE_WRITE ...