Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Running REBOL as a cron job. Re:(4)

From: bga:din:uem at: 7-Aug-2000 16:29

Em Monday, August 07 2000, 16:21:51, [marj--msi--com] ([marj--msi--com]) disse:
>>Anyway, wasn't REBOl supposed to read the rebol.r and user.r files from >>the REBOL_HOME dir? > >Except that, when a Rebol script runs as a cron job, the "user" is probably >root, not you. So it doesn't know to read your user.r file.
Nah... I am root. :) I think the problem is that when the job is being executed, it doesn't get the REBOL_HOME variable that is set in /etc/profile. It would be cool if REBOL would look for these files in a deafult dir (like $HOME/.rebol) -Bruno -- Bruno G. Albuquerque [bga--din--uem--br] BeDevId #15362 Grupo Brasileiro de Usuários de BeOS - Presidente Finagle's Creed: Science is true. Don't be misled by facts.