incrond cannot exec process: No such file or directory

Inside you incrontabs, you must leave only 1 space between the . If you leave 2 or more spaces, then the 2nd (and more) spaces will be considered part of the or and it will fail… I was leaving 2 spaces between and , and incron did not work and in /var/log/syslog there were these…

Dummy node script to respond 200 (or anything) to a call for testing purposes

This is as bare a node App as you can make but it comes in handy when you want a . dummy server just to return 200s and or a JSON object at super fast speeds on small systems:   var express = require(‘express’); var app = express(); app.get(‘*’, function(req, res) { res.sendStatus(200); }); app.listen(‘3000’);…

Cool chkconfig replacement for Ubuntu

Hi,   Ubuntu does not carry chkconfig any more .. besides the standard update-rc.d apache2 defaults or update-rc.d apache2 remove There is a cool tool called : sysv-rc-conf. This tool can be installed using : sudo apt-get install sysv-rc-conf On its own the command opens a cool ncurses interface like this :      …