Professional Web Applications Themes

Running Dml Script in Crontab - Linux / Unix Administration

Is there anyway to run a dml script from cron?...

  1. #1

    Default Running Dml Script in Crontab

    Is there anyway to run a dml script from cron?

    mark.goudie@gmail.com Guest

  2. #2

    Default Re: Running Dml Script in Crontab

    On 20 May 2005 07:06:23 -0700, com <com> wrote: 

    Would you like to give _any_ details at all about what you're talking
    about and what system this is on, or are we supposed to guess?

    Dave Guest

  3. #3

    Default Re: Running Dml Script in Crontab

    On Fri, 20 May 2005 07:06:23 -0700, mark.goudie wrote:
     

    If you can run it from a shell, then yes. 'man 5 crontab' or 'man -k
    crontab' should shed some light on the subject.

    --

    If at first you don't succeed,
    read the manual......

    Liam Guest

  4. #4

    Default Re: Running Dml Script in Crontab

    In comp.unix.admin Dave Hinz <net>: [/ref]
     

    LOL...

    Looks like the OP already did a great job with his single
    sentence question. He really can't be bothered to give any more
    details. People will have to figure it out from guessing...

    --
    Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
    mail: echo qr | perl -pe 'y/a-z/n-za-m/'
    #bofh excuse 213: Change your language to Finnish.
    Michael Guest

  5. #5

    Default Re: Running Dml Script in Crontab

    Le Fri, 20 May 2005 07:06:23 -0700, mark.goudie a écrit:
     

    If you're refferring to "Dynamic Markup Language" ?
    Then yes, why not, though what for, provided you cleanly
    set the full path of engines and shell protections in case
    the paths of objects are funny.

    But, really, what the heck for ???
    Loki Guest

  6. #6

    Default Re: Running Dml Script in Crontab

    On Sun, 2005-05-22 at 20:45 +0200, Loki Harfagr wrote: 
    >
    > If you're refferring to "Dynamic Markup Language" ?
    > Then yes, why not, though what for, provided you cleanly
    > set the full path of engines and shell protections in case
    > the paths of objects are funny.[/ref]

    I believe the OP is referring to Data Manipulation Language" or similar.
    In the relational database world, any construct that will alter data in
    a database, but I may well be wrong.

    And of course it's possible, as stated elsewhere in this thread.
    --
    You can't run away forever,
    But there's nothing wrong with getting a good head start.
    -- Jim Steinman, "Rock and Roll Dreams Come Through"


    S. Guest

  7. #7

    Default Re: Running Dml Script in Crontab

    On Sun, 22 May 2005 20:45:50 +0200, Loki Harfagr <free.fr> wrote: 
    >
    > If you're refferring to "Dynamic Markup Language" ?
    > Then yes, why not, though what for, provided you cleanly
    > set the full path of engines and shell protections in case
    > the paths of objects are funny.[/ref]

    One could always run a wrapper from cron that calls whatever the
    heck it wants to, to keep the crontab syntax from getting messy.
    I've seen people try to write shell scripts within a crontab
    entry, which makes you ask...
     

    ....that...


    By the way, great name, Mr. Harfagr. Are you a descendant by any
    chance?
    Dave Guest

  8. #8

    Default Re: Running Dml Script in Crontab

    Le Mon, 23 May 2005 14:38:25 +0000, Dave Hinz a écrit:
     
    >>
    >> If you're refferring to "Dynamic Markup Language" ?
    >> Then yes, why not, though what for, provided you cleanly
    >> set the full path of engines and shell protections in case
    >> the paths of objects are funny.[/ref]
    >
    > One could always run a wrapper from cron[/ref]

    Thats fair enough but I pre-supposed writing such wrapping scripts
    was a bit overscope to someone asking if the cron could launch scripts ;-)
     

    Which is not an easy task !-)
     

    Uh, I thought I've had seen pretty horrors but it seems you
    had your share of frantic visions :D)
    Was this is a server for trainees or what ?
     
    >
    > ...that...[/ref]

    eh eh :-)

    <OT>
     

    Thanks a lot but I fear it's just my 'stage name' from the times I
    still made loads of electrical noises without a Cat-5 cable ;-)
    Though, it's been said in my family we were related to the Plantagenet
    (like, I imagine, million people by now) but I have no detail
    about good old Harald :-)
    </OT>

    Loki Guest

  9. #9

    Default Re: Running Dml Script in Crontab

    On Tue, 24 May 2005 16:38:39 +0200, Loki Harfagr <no> wrote: 
    >
    > Which is not an easy task !-)[/ref]

    Well, the crontab should be blisteringly obvious in function.
    Comment above, call to wrapper in entry. The script can handle all
    the logic. Calling "at -time now" or whatever from within a crontab
    entry is gratuitously stupid, yet our domain (was) full of it.
     
    >
    > Uh, I thought I've had seen pretty horrors but it seems you
    > had your share of frantic visions :D)[/ref]

    Words cannot begin to describe. Trust me.
     

    Not intentionally. Let's just say that there were many easy targets
    to improve the environment when I got here.
     [/ref]
     

    I've got a solid line back to the 1330's, (helps when the farm is still
    owned by the same family - the current occupants are 17th cousins of
    mine. From there, it's allegedly another 15 or so generations back
    to Fairhair, through 7 separate lines. But, the complicating factor is
    that he may or may not have been an individual; there's reasonble
    thought that he's a conglomeration of 3 separate Norse kings named
    Harold. Kind of like King Arthur...

    Dave Guest

Similar Threads

  1. Running ASP Script
    By kkks mmss in forum ASP Database
    Replies: 4
    Last Post: July 8th, 08:16 AM
  2. running php script?
    By Sticks in forum PHP Development
    Replies: 8
    Last Post: December 19th, 08:10 AM
  3. [PHP] running a php script in /cgi from /web
    By Tom Rogers in forum PHP Development
    Replies: 3
    Last Post: July 21st, 01:36 AM
  4. [PHP] running SSH through a PHP script
    By James Martin in forum PHP Development
    Replies: 0
    Last Post: July 18th, 04:12 PM
  5. running SSH through a PHP script
    By James Martin in forum PHP Development
    Replies: 1
    Last Post: July 18th, 03:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139