home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12725 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!swrinde!gatech!news.ans.net!cmcl2!adm!news
  2. From: beyer@bflsgu.fl.bs.dlr.de (R. Beyer)
  3. Newsgroups: comp.sys.sgi
  4. Subject: cron,at
  5. Message-ID: <32149@adm.brl.mil>
  6. Date: 21 Aug 92 15:14:53 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 45
  9.  
  10.  
  11. Hi,
  12.  
  13. on an Indigo running IRIX 4.0.1 the following script runs as expected
  14. if submitted to 'cron'. However, if it is submitted to 'at' an error is 
  15. returned.
  16.  
  17. The script:
  18.  
  19.     #! /bin/csh -f
  20.  
  21.     set N=0
  22.  
  23.     while ($N < 9)
  24.         @ N = $N + 1
  25.         echo $N
  26.     end
  27.  
  28. If the script is submitted to 'at' by
  29.  
  30.     at now + 1 minute < script_name
  31.  
  32. 'at' mails the following message to the invoker:
  33.  
  34. sh: syntax error at line 32: `end of file' unexpected
  35.  
  36.  
  37. *************************************************
  38. Cron: The previous message is the standard output
  39.       and standard error of one of your cron commands.
  40.  
  41. Does anyone know what is going on here ? Thanks for any hints you might
  42. have.
  43.  
  44. Regards
  45.  
  46. Ralf Beyer
  47.  
  48.  
  49. ---------------------------------------------------------------------
  50. Ralf Beyer - German Aerospace Research Establishment, Institute for 
  51. Flight Guidance, Flughafen, D-3300 Braunschweig, Fed. Rep. of Germany
  52.       Phone: 0049-531-395-2530  Fax: 0049-531-395-2550
  53. EARN/BITNET: fl17@dlrvmbs.bitnet Internet: beyer@bflsgu.fl.bs.dlr.de
  54. ---------------------------------------------------------------------
  55.