$^X in SpoolMailsReprocess.pm (Why)?

English! place to talk about OTRS development, programming and coding

Moderator: tto

Post Reply
ChrisRitson
OTRS newbie
Posts: 4
Joined: 25 Jan 2018, 13:11
OTRS Version?: 5.0.26
Real Name: Chris Ritson
Company: School of Computing, Newcastle University

$^X in SpoolMailsReprocess.pm (Why)?

Post by ChrisRitson » 18 Apr 2018, 11:08

Can somebody explain the $^X in:

Kernel/System/Console/Command/Maint/PostMaster/SpoolMailsReprocess.pm:61: my $Result = system("$^X $Home/bin/otrs.Console.pl Maint::PostMaster::Read < $File ");

We are getting a regular failure from this, and if this is simply trying to run otrs.Console.pl Maint::PostMaster::Read then I don't understand at all.

Thanks, Chris Ritson.

reneeb
OTRS guru
Posts: 4652
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: $^X in SpoolMailsReprocess.pm (Why)?

Post by reneeb » 18 Apr 2018, 20:10

This is the path to the perl installation that is used to run the Daemon job. See http://perldoc.perl.org/perlvar.html
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

Post Reply