 |
|
 |
|
|
 |
Running Dml Script in Crontab |
 |
 |
|
|
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-20-05 11:03 PM
On 20 May 2005 07:06:23 -0700, mark.goudie@gmail.com <mark.goudie@gmail.com> wrote:
> Is there anyway to run a dml script from cron?
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?
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-20-05 11:03 PM
On Fri, 20 May 2005 07:06:23 -0700, mark.goudie wrote:
> Is there anyway to run a dml script from cron?
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......
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-21-05 12:51 PM
In comp.unix.admin Dave Hinz <DaveHinz@spamcop.net>:
> On 20 May 2005 07:06:23 -0700, mark.goudie@gmail.com <mark.goudie@gmail.co
m> wrote:
[vbcol=seagreen]
> 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?
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 zvpunry@urvzvat.qr | PERL -pe 'y/a-z/n-za-m/'
#bofh excuse 213: Change your language to Finnish.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-22-05 10:49 PM
Le Fri, 20 May 2005 07:06:23 -0700, mark.goudie a écrit_:
> Is there anyway to run a dml script from cron?
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 ???
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-22-05 10:49 PM
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.
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"
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-23-05 10:59 PM
On Sun, 22 May 2005 20:45:50 +0200, Loki Harfagr <loki@DarkDesign.free.fr> wrote:
> 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.
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...
> But, really, what the heck for ???
...that...
By the way, great name, Mr. Harfagr. Are you a descendant by any
chance?
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-24-05 11:04 PM
Le Mon, 23 May 2005 14:38:25 +0000, Dave Hinz a écrit_:
> On Sun, 22 May 2005 20:45:50 +0200, Loki Harfagr <loki@DarkDesign.free.fr>
wrote:
>
> One could always run a wrapper from cron
Thats fair enough but I pre-supposed writing such wrapping scripts
was a bit overscope to someone asking if the cron could launch scripts ;-)
> that calls whatever the
> heck it wants to, to keep the crontab syntax from getting messy.
Which is not an easy task !-)
> I've seen people try to write shell scripts within a crontab
> entry, which makes you ask...
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...
eh eh :-)
<OT>
> By the way, great name, Mr. Harfagr. Are you a descendant by any
> chance?
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>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Running Dml Script in Crontab |
 |
 |
|
|
05-24-05 11:04 PM
On Tue, 24 May 2005 16:38:39 +0200, Loki Harfagr <lars.hummigeret@yahuu.no> wrote:
> Le Mon, 23 May 2005 14:38:25 +0000, Dave Hinz a écrit_:
>
>
> Which is not an easy task !-)
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)
Words cannot begin to describe. Trust me.
> Was this is a server for trainees or what ?
Not intentionally. Let's just say that there were many easy targets
to improve the environment when I got here.
><OT>
>
[vbcol=seagreen]
> 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 :-)
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...
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 01:27 PM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|