Date index for Mar 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [achievo] problems getting timereg.cron to work



Hi Ivo,

If I run the script directly (ie not from cron) it returns pretty much instantly and still sends no emails nor does it generate an error message, for info, I have about 40 employees and about 15 active projects.

BTW - thanks for the clarification on the  employee role.

Regards
Norman

Ivo Jansch wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Norman,

Norman Hills wrote:



2. I editied the timereg.cron script to remove the role='employee'
condition, because we don't use that field (BTW in 1.1 the doesn't seem
to be a way of setting roles for employees anyway)



Yes, you do use the field, but you won't notice it as a user. Contactpersons for companies and employees are both stored in the 'person' table. Employees have 'employee' as role, contacts have 'contact'. If you remove this condition, it will try to mail contact persons too.



That pretty much exhausts what I can do without getting some php
resource allocated to me to debug the script - I'm loathe to do this
because, as far as I can see, the script has remained in use and
unchanged by other achievo users for quite a while without problems.



If you run the script directly, i.e., not from cron, does it work then?

Greetings,
Ivo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCQbhj0a30MCVqs1wRAs4WAJ9dmSXhh6joeJBhXTouUQXzt8bsGACfcVLU
yK0Grf14X8EpOMDyybyJgY0=
=9T2G
-----END PGP SIGNATURE-----


[ Achievo mailing list - http://www.achievo.org/ ] [ to unsubscribe send an e-mail to achievo-unsubscribe dot 



-- Regards Norman Hills ================= QA Manager t. 01273 201725 m. 07749 880870 e. nhills dot  ================= The information contained in this E-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this E-mail. Such unauthorised use may be unlawful. If you have received this E-mail in error, please inform us immediately and delete it and all copies from your system.

http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV