Commit Graph

38 Commits

Author SHA1 Message Date
Ralf Becker
d2a667c040 * AsyncServices/Calendar: when multiple alarms / async jobs run at same time, they send mail with from address of first alarm/job
caused by ExecMethod re-using objects instanciated in $GLOBALS, which get now unset when user-context needs to change because async job runs under different user
2012-05-15 12:15:18 +00:00
Ralf Becker
30e86a8195 return success or error if called via HTTP as HTTP status 2012-05-08 21:47:49 +00:00
Ralf Becker
a182d128b8 order returned async jobs by execution time 2011-04-10 15:08:49 +00:00
Ralf Becker
18b818bd57 reverting accidently commit r34595 2011-04-10 15:05:47 +00:00
Ralf Becker
bd4f019062 some more PostgreSQL stuff from ADOdb 5.11 2011-04-10 15:04:40 +00:00
Ralf Becker
8db999925d * exceptions in async jobs no longer stop other jobs 2011-03-21 13:18:11 +00:00
Ralf Becker
34e51b19e8 reverting back to arbitrary job data AND adding other job parameters only if data is an array, it made to many problems requiring it to be an array 2010-09-14 09:38:59 +00:00
Ralf Becker
cdc0d2fb5e fixed warning if data is no array and modified method signature to allow only an array or NULL as parameter (seems that is the way it is used so far) 2010-09-07 12:17:19 +00:00
Ralf Becker
5e47dcd0da calling job with data array, plus all regular job data, like eg. next (time job was supposted to run) 2010-09-06 14:09:27 +00:00
Ralf Becker
bb5000d526 setting NO memory limit for async service 2010-08-23 16:32:33 +00:00
Ralf Becker
912973e47f fixed halfway implemented $append parameter and app-detection for static methods 2010-08-15 20:05:39 +00:00
Ralf Becker
70e0947517 allow to return a limited result set and arbitrary columns 2010-08-12 18:15:37 +00:00
Nathan Gray
19090879c4 Add ability to find out next run time as at a given date, instead of just 'now' 2009-06-26 14:26:14 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Nathan Gray
0044736e0f - Preserve existing times when working with an existing job schedule
- Preserve values of 0 (previously set to */1)
2008-09-16 21:47:08 +00:00
Ralf Becker
61df6f2a15 fixed bug reported by Martin Kramer on the German list 2008-08-15 14:37:34 +00:00
Ralf Becker
7272868ab5 "using the global db object" 2008-03-15 14:19:06 +00:00
Ralf Becker
4f6b0ae2da fixed not working semaphore in asyncservice (we are not supporting table locks anymore / since 1.2) 2007-07-26 09:22:28 +00:00
Ralf Becker
3ddd4a7d17 bugfix: async service "sometimes" misses jobs (db-class was not cloned but copied) 2007-06-10 08:47:14 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Ralf Becker
f2a058fccf modernized asyncservice class and renamed phpgw_async to egw_async 2005-05-23 18:57:58 +00:00
Ralf Becker
219d169207 let's the asyncservice class run under setup 2004-10-15 22:56:00 +00:00
reinerj
febeab4d8d replace the crap 2004-08-09 13:46:03 +00:00
Ralf Becker
e2eed6a73f killed warnings if executables not found 2004-08-06 12:38:14 +00:00
Ralf Becker
d4167b6c44 fixed double serialisation of times and data (leftover from old code)
Thanks alpe for the notice
2004-08-01 17:19:47 +00:00
Ralf Becker
a4181bf0a8 reverted omgs's changes 2004-07-31 21:36:54 +00:00
Oscar Manuel Gómez Senovilla
e15e152369 *** empty log message *** 2004-07-31 19:55:06 +00:00
Ralf Becker
8286bb3dc6 fixed typo 2004-07-25 20:05:28 +00:00
Ralf Becker
29594f2771 added 'async_' prefix to column-names of phpgw_async, as 'id' is a reserved word in sapdb 2004-07-23 00:46:01 +00:00
Ralf Becker
04650e3680 re-read job, in case it had been updated or even deleted in the method 2004-07-12 23:46:54 +00:00
Ralf Becker
70bc641bd4 added error-message if webserver user need to be in a certain group to execut the crontab command. The name of the webserver user and the groupname are read from the process and the file-permission and displayed too, in case the admin dont know them ;-) 2004-05-23 20:03:29 +00:00
Ralf Becker
0e943f4c58 fix for bug #911628: Intall Cron Job Multiple Domain Error 2004-03-14 18:41:35 +00:00
Miles Lott
4f612cbbde intval -> (int), replace gettype() and ereg_replace() where possible 2003-12-14 17:07:16 +00:00
Ralf Becker
2fe29887ff useing the bash function 'type -p' now instead the alias 'which', which seems not to be set for RH9 or Fedora 2003-11-23 11:01:30 +00:00
Ralf Becker
f4fd01dd10 added possebility to remove the crontab-line 2003-09-06 10:50:35 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
6ab850d35c - added update from version 0.9.14.004-6 (security-fixes) and 0.9.14.508 (asyncservice)
- merged asyncservices from .16
2003-07-21 18:20:45 +00:00
Ralf Becker
b12d672c5c importing asyncservices from .16 2003-04-27 23:19:49 +00:00