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:

Grep to convert characters to html entities (2006) form data submission gets truncated (1997) webcat- multiple selection in input field (1997) random images (1997) Soft return (2001) Help! WebCat2 bug (1997) Micro-managing External Links (2006) IIS4 & Password Authentication, request example (1998) Unexpected error (1997) Adding multiple items to Cart at one time, & append contextproblem (1998) emailer prob (1998) Only charge card when product shipped ? (1997) about this server and links to who (1997) Quit revisited (1997) is sku a REQUIRED field on NT (1997) Multiple prices (1997) HomePage Caution (1997) PCS Emailer's role ? (1997) One Hour Email (2002) Size limit for tmpl editor ? (1997)