mikeyrh2 Posted March 12, 2009 Posted March 12, 2009 i cant get an event to occur in any of my cron jobs, i am not sure the standard event_add does not display any results line as follows for an example event_add(1,"text",$c); should send user 1 an event upon completion of the current routine but nothing comes back. one cron mod said use @event_add but that isnt working either am i overlooking something in crob jobs? i cant get an event back on my crons. Quote
POG1 Posted March 12, 2009 Posted March 12, 2009 Re: cron jobs and event_add do you only want to send it to 1 user? Quote
mikeyrh2 Posted March 12, 2009 Author Posted March 12, 2009 Re: cron jobs and event_add do you only want to send it to 1 user? that was just an example but it doesnt even send it to me, i have the code but no events_add will come out of cron regardless if its user 1 or not. i can send the exact code but if it wont send it user 1 its not going to send it anywhere else either. Quote
John99 Posted March 12, 2009 Posted March 12, 2009 Re: cron jobs and event_add So your trying to add an event to crons? Quote
POG1 Posted March 12, 2009 Posted March 12, 2009 Re: cron jobs and event_add have you included the file that contains that function? Quote
John99 Posted March 12, 2009 Posted March 12, 2009 Re: cron jobs and event_add Are you running V2? i guess? Quote
dementor Posted March 12, 2009 Posted March 12, 2009 Re: cron jobs and event_add If it is v1 Just move global.func to your cron folder then put include globalfunc.php in daysold.php or whatever cron you want the event to come from Quote
Tonka Posted March 12, 2009 Posted March 12, 2009 Re: cron jobs and event_add put this in your file somewhere before event_add include "global_func.php"; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.