Re: Shell Scripts

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47281
interpreted = N
texte = In this case I would CRON the job off. This way you'll have your scheduled tasks in one location, permissions should not be an issue. You could also CRON a CHOWN command on the newly placed log files if needed.----- Original Message ----- From: Clint Davis To: WebDNA Talk Sent: Thursday, January 30, 2003 8:07 AM Subject: Shell Scripts > I have some log files on my WebSTAR V server that aren't within any of my > virtual host directories. In order to make them accessible via the web, I'd > like to execute a shell script every night at 11:59pm to copy the files to > one of my virtual hosts. I think the script will require root privileges to > perform the necessary commands. > > Would WebDNA be able to handle something like this or should I set up a > crontab for the root user? > > My primary concern here is privileges. > > > --------------------------------------------------------------------- > Clint Davis > Webmaster / Interactive Media Specialist > Gray Loon Marketing Group, Inc. http://www.grayloon.com > 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 > --------------------------------------------------------------------- > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Shell scripts with sudoer ( "Nitai @ ComputerOil" 2004)
  2. Re: Maybe Off Topic -- OS X/UNIX Shell Scripts? (Clint Davis 2003)
  3. Re: Maybe Off Topic -- OS X/UNIX Shell Scripts? (marc@kaiwi.com (Marc Kaiwi) 2003)
  4. Re: Maybe Off Topic -- OS X/UNIX Shell Scripts? (marc@kaiwi.com (Marc Kaiwi) 2003)
  5. Re: Maybe Off Topic -- OS X/UNIX Shell Scripts? (John Peacock 2003)
  6. Re: Maybe Off Topic -- OS X/UNIX Shell Scripts? (Clint Davis 2003)
  7. Maybe Off Topic -- OS X/UNIX Shell Scripts? (marc@kaiwi.com (Marc Kaiwi) 2003)
  8. Re: Shell Scripts ( 2003)
  9. Shell Scripts (Clint Davis 2003)
In this case I would CRON the job off. This way you'll have your scheduled tasks in one location, permissions should not be an issue. You could also CRON a CHOWN command on the newly placed log files if needed.----- Original Message ----- From: Clint Davis To: WebDNA Talk Sent: Thursday, January 30, 2003 8:07 AM Subject: Shell Scripts > I have some log files on my WebSTAR V server that aren't within any of my > virtual host directories. In order to make them accessible via the web, I'd > like to execute a shell script every night at 11:59pm to copy the files to > one of my virtual hosts. I think the script will require root privileges to > perform the necessary commands. > > Would WebDNA be able to handle something like this or should I set up a > crontab for the root user? > > My primary concern here is privileges. > > > --------------------------------------------------------------------- > Clint Davis > Webmaster / Interactive Media Specialist > Gray Loon Marketing Group, Inc. http://www.grayloon.com > 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 > --------------------------------------------------------------------- > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

More DateMath problems (1997) Max Record length restated as maybe bug (1997) Strange Search Results (2004) [WebDNA] TCPconnect and Bitcoin rate (2017) sorted cart? (1998) Opinion: [input] should be called [output] ... (1997) Exclamation point (1997) Kaaaaahhhhhhhnnnnnnn! (1997) Playin Tricks (2006) new server, can't use [writefile] - code attached [long] (2004) Three new problems, maybe a fourth (1997) [if] and [showif] (2002) Personal Web Server (1998) RE: Include (1998) WebCat2.0 [format thousands .0f] no go (1997) Replace Statement (1997) hmmm (2006) Re1000001: Setting up shop (1997) Variable prices and Formulas.db (1997) webcat2b12 CGI -- Date comparisons (1997)