Hi

print "Computer\t"; print "Job_Name\t"; print "Application_Name\t"; print "Parameters\t"; print "WorkDirectory\t"; print "Comment\t"; print "MostRecentRunTime\t"; print "NextRunTime\t"; print "MaxRunTime\t"; print "Priority\t"; print "Status\t"; print "User\t"; print "Creator\t"; print "Error\t"; print "Flag_Delete when done\t"; print "Flag_Disabled}\t"; print "Flag_Dont start if on batteries\t"; print "Flag_Hidden\t"; print "Flag_Interactive\t"; print "Flag_Kill if going on batteries\t"; print "Flag_Kill on idle end\t"; print "Flag_Restart on idle resume\t"; print "Flag_Run if connected to internet\t"; print "Flag_Run only if docked\t"; print "Flag_Start only if idle\t"; print "Flag_System required\t"; print "Trigger_String\t"; print "Trigger_Type\t"; print "Trigger_StartDay\t"; print "Trigger_EndDay\t"; print "Trigger_StartTime\t"; print "Trigger_Duration\t"; print "Trigger_Interval\t"; print "Trigger_Schedule_DaysInterval\t"; print "Trigger_Schedule_WeeksInterval\t"; print "Trigger_Schedule_WeeksDays\t"; print "Trigger_Schedule_Days\t"; print "Trigger_Schedule_WhichWeek\t"; print "Trigger_Schedule_Months\n";
print "$cp\t"; print "$job->{Name}\t"; print "$job->{AppName}\t"; print "$job->{Parameters}\t"; print "$job->{WorkDirectory}\t"; print "$job->{Comment}\t"; print "$job->{MostRecentRunTime}\t"; print "$job->{NextRunTime}\t"; print "$job->{MaxRunTime}\t"; print "$job->{Priority}\t"; print "$job->{Status}\t"; print "$job->{User}\t"; print "$job->{Creator}\t"; print "$job->{Error}\t"; print "$job->{Flag}->{'Delete when done'}\t"; print "$job->{Flag}->{Disabled}\t"; print "$job->{Flag}->{'Dont start if on batteries'}\t"; print "$job->{Flag}->{Hidden}\t"; print "$job->{Flag}->{Interactive}\t"; print "$job->{Flag}->{'Kill if going on batteries'}\t"; print "$job->{Flag}->{'Kill on idle end'}\t"; print "$job->{Flag}->{'Restart on idle resume'}\t"; print "$job->{Flag}->{'Run if connected to internet'}\t"; print "$job->{Flag}->{'Run only if docked'}\t"; print "$job->{Flag}->{'Start only if idle'}\t"; print "$job->{Flag}->{'System required'}\t"; print "$job->{Trigger}{$idx}{String}\t"; print "$job->{Trigger}{$idx}{Type}\t"; print "$job->{Trigger}{$idx}{StartDay}\t"; print "$job->{Trigger}{$idx}{EndDay}\t"; print "$job->{Trigger}{$idx}{StartTime}\t"; print "$job->{Trigger}{$idx}{Duration}\t"; print "$job->{Trigger}{$idx}{Interval}\t"; print "$job->{Trigger}{$idx}{Schedule}{DaysInterval}\t"; print "$job->{Trigger}{$idx}{Schedule}{WeeksInterval}\t"; print "$job->{Trigger}{$idx}{Schedule}{WeeksDays}\t"; print "$job->{Trigger}{$idx}{Schedule}{Days}\t"; print "$job->{Trigger}{$idx}{Schedule}{WhichWeek}\t"; print "$job->{Trigger}{$idx}{Schedule}{Months}\n";
Instead of lot of those prints, why can't you use
format STDOUT
?

Perl is a very good reporting Language. :-)

"Keep pouring your ideas"

In reply to Re: Job schedule task inventory by jesuashok
in thread Job schedule task inventory by shonorio

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.