This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Benjamin, > To: <address@hidden> > From: "Benjamin Cotton" <address@hidden> > Subject: crontab errors > Organization: Purdue University The above message contained the following: > Ever since I upgraded to LDM v5.2.2, I've been having some problems. > Cron has been unhappy with the 'ldmadmin dostats' entry. > > Using this: > 34 * * * * /net/anvil/project/ldm/runtime/bin/ldmadmin dostats > > /dev/null > > I get this: > ls: illegal option -- x > usage: ls [-ACFGHLPRTWacdfgiklnoqrstu1] [file ...] The "-x" option to the "ls" command is a standard one. Apparently, your "ls" isn't standard. "ls -x" is used by the script "mailpqbinstats", which is invoked by the "ldmadmin dostats" command. You might try looking for a standard "ls" utility on your system and set the PATH of the ldm-user accordingly. Regards, Steve Emmerson <http://www.unidata.ucar.edu>