Wonderful, that seems to be working :-) Thank you. One final question though. Can I run this command such that I still see the output as I would in the normal dsmsched.log?
Regards Farren -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[email protected]] On Behalf Of Richard Sims Sent: 07 October 2010 13:51 To: [email protected] Subject: Re: [ADSM-L] How to run a command for a Mac client Hi, Farren - Making progress... The 127 error is complaining about the path of the command. I don't see that you need the "/Server HD" at the front of the path spec: have it start with "/Applications" and give that a try, first doing 'ls -l' on the revised path to verify the file path, and assure that the file is marked with an 'x' for executable. (In some installs, the "Tivoli Storage Manager" portion was accompanied by a version-release numbering element.) Richard Sims On Oct 7, 2010, at 8:38 AM, Minns, Farren - Chichester wrote: > Hi Richard > > I was just using double quotes, so now use single and double. > > The schedule looks as follows and still fails with "ANR2579E Schedule > MACSERVERS in domain STANDARD for node CHI-XS02 failed > (return code 127)." > > Policy Domain Name: STANDARD > Schedule Name: MACSERVERS > Description: Mac Servers > Action: Command > Options: > Objects: "/Server HD/Applications/Tivoli Storage > Manager/scripts/daily-incrbydate.sh" > > Regards > > Farren > > > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[email protected]] On Behalf Of > Richard Sims > Sent: 07 October 2010 13:14 > To: [email protected] > Subject: Re: [ADSM-L] How to run a command for a Mac client > > Did you follow the quoting specifications documented for the DEFine SCHedule > command, to deal with the blank characters in the string? > ------------------------------------------------------------------------------------------------------------ > John Wiley & Sons Limited is a private limited company registered in England > with registered number 641132. > Registered office address: The Atrium, Southern Gate, Chichester, West > Sussex, United Kingdom. PO19 8SQ. > ------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------ John Wiley & Sons Limited is a private limited company registered in England with registered number 641132. Registered office address: The Atrium, Southern Gate, Chichester, West Sussex, United Kingdom. PO19 8SQ. ------------------------------------------------------------------------------------------------------------
