add_s: ldap.INVALID_DN_SYNTAX

Ervin Hegedüs airween at gmail.com
Sun Mar 11 21:16:41 CET 2007


Hello,

> chaos at felucia:~$ ps afx|grep sleep
> 25170 ?        Ss     0:00  |   \_ sleep 300
> 25246 ?        Ss     0:00  |   \_ sleep 300
> 25324 ?        Ss     0:00  |   \_ sleep 300
> 25403 ?        Ss     0:00  |   \_ sleep 300
> 25486 ?        Ss     0:00      \_ sleep 300
> 25530 pts/5    S+     0:00  |   \_ grep sleep
> chaos at felucia:~$ crontab -l
> # m h  dom mon dow   command
> * * * * * sleep 300
>
> have i missed something?
Nothing. Or rather yes. :)

I didn't wrote, the run-time of script usually less than 1sec.

Here is my output:
# ps axf | grep chkdir.py
24859 pts/2    S+     0:00                      \_ grep chkdir.py

> > Hmmm... I think there is _no_ other thread (or process), what wants to
> > write to database.
>
> Still dont get it?
no, I don't.

> If the event only occures 1-5 time per-week, why you make your script
> run every minute?
Because event occurs randomly: sometime it occur monday morning,
sometime friday evening - sometime it occurs in workhours, sometime
out of workhours.

This is not so simple....


Thank you:

a.




More information about the python-ldap mailing list