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:

Help name our technology! I found it (1997) [WebDNA] Looking for developer! (2016) webcat NT with [dos] command (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Plugin or CGI or both (1997) find with exceptions (1997) ShowNext (1997) Can you do this??? and other stuff (1997) (1998) WebCatalog 2.1 License for Sale (1998) [WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010) Quit revisited (1997) Overriding text variables ... (2000) Format all of a sudden doesn't work (1997) Summing fields (1997) Images do not upload completely ... (2003) iis 4.0 (1997) Re:Need help... (1997) Error Lob.db records error message not name (1997) Newbie problem blah blah blah (1997)