I have a cron task as
6,36 * * * * python /usr/local/news.py >> /var/log/newlog
it is supposed to run at every 6th and 36th minute of each hour.
But for some how the system runs this task 4 processes/times each time. This task is to update database, and it causes problem when three processes updating database at the same time.
I have 4 tasks listing in /var/spool/cron/root, this is one of the tasks
What possibly went wrong here?
Thanks
Edit:
Oct 9 20:06:01 online CROND[7882]: (root) CMD (python /usr/local/news.py >> /var/log/newslog) Oct 9 20:06:01 online CROND[7883]: (root) CMD (python /usr/local/news.py >> /var/log/newslog) Oct 9 20:06:01 online CROND[7888]: (root) CMD (python /usr/local/news.py >> /var/log//newslog) Oct 9 20:06:01 online CROND[7890]: (root) CMD (python /usr/local/news.py >> /var/log//newslog)