Please help me to handle cron job
1. I've add new cron job in my host cpanel and i think it worked.
2. In WI log, the cron job started but it turn out like below
Cron 15/03/2013 00:35 Cron job finished with error
Errors 15/03/2013 00:35 PHP Error: Output generated before sending the response in on line 0
Cron 15/03/2013 00:35 Cron job started
---------------
Errors detail :
Type: Errors
Severity: Error
Date: 15/03/2013 00:35
Message: PHP Error: Output generated before sending the response in on line 0
User name:
Host name: unknown
-------------------
I choose "Standard PHP mailer" in Email setting and it work for new user register notification (WI sent mail to new registed user for activation).
Thanks first.
- Log in to post comments
this is error log for cron/job.php
---------------------------------------
[14-Mar-2013 11:21:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:22:02] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:23:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:24:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:25:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:26:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:27:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:28:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:29:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:30:03] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:31:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:32:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:33:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:34:02] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:35:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:36:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:37:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:38:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:39:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:40:03] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:41:02] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:42:02] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:43:02] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
[14-Mar-2013 11:44:01] PHP Notice: Use of undefined constant STDERR - assumed 'STDERR' in /home2/oplprodu/public_html/ticket-issue/issue/system/core/application.inc.php on line 516
It looks like you run the cron job from command line, but you are using the CGI version of PHP. See http://www.php-cli.com/php-cli-cgi.shtml.
Regards,
Michał
yes. i've figure it out and the cron job run smoothly ^_^.
just one suggest, why don't notifications automatic sent to the members assigned in the projects.
if could, it'll help a lot, because lot of my users don't know how to set up an alert in order to receive notifications v_v.
Thanks.
One of the future versions of WebIssues will support groups of users, and possibly there will be some sort of group notifications as well.
Regards,
Michał