[rt-users] Changing the user running the script?

Seth Cohn, EFN General Manager gm at efn.org
Mon Jan 13 17:38:21 EST 2003


Running the escalator script, it makes the changes as RT_System.
I'd like to change that to 'Escalator' or 'Ticking Clock' or something
like that.  (so it's clear why it got bumped up)

Is it really as simple as adding something like:

$EscalatorUser = new RT::CurrentUser();
$EscalatorUser->LoadByName('Escalator');
 before the rest of the script runs?

Or am i missing something?



-- 
## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org
## Businesses planned for service are apt to succeed;  Phone 541-484-9637
## Businesses planned for profit are apt to fail. - N. Butler




More information about the rt-users mailing list