jeudi 29 janvier 2015

What's the best way to avoid catastrophe caused by negligence?


I have been a programmer for almost 1 year.


As an ADHD adult, naturally I don't have the same strength of attention on ordinary stuffs as my colleagues do.


And I find the catastrophe made by me are usually caused by trivial negligence.


Like for today, I found the cron process on the server collapsed in the morning.


After half hour of debugging. I found I wrote in the cron


* 4 * * * sh daily_task.sh


instead of


0 4 * * * sh daily_task.sh


Which runs the huge shell 59 times in the morning instead of the intended 1 time.


Is there some kind of cultivatable behaviour or some tools or anything that can help me at least reduce such kind of mistake?


How do you do to avoid such kind of mistake?





Aucun commentaire:

Enregistrer un commentaire