The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
81 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
276 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
341 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
727 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
892 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
532 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 ...