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:

customizing the color of user's pages (1997) MS Commerce Comparison (long) (1998) Another bug to squash (WebCat2b13 Mac .acgi) (1997) search form problem.. (1997) Error Lob.db records error message not name (1997) Auth.net and SIM (2003) [protect admin] (1997) WebCat2 - many [carts] on one template page? (1997) Hiding HTML and page breaks (1997) Help name our technology! I found it (1997) Order not created error (1997) 5.0 Pricing (2003) WC1.6 to WC2 date formatting (1997) Transferring textareas (1997) WebCat 4 crashes WebStar (2001) (1997) Dummy Credit Card Number for debug? (1997) I'm new be kind (1997) HELP! 10K hits per hour for pages that no longer exist! (2000) RED QUESTION MARKS AGAIN (1999)