Mark Haney wrote:
> On 11/15/2017 11:48 AM, m.r...@5-cent.us wrote:
>> Mark Haney wrote:
>>> For the record, this was the only option to handle the task I'm having
>>> issues with inside cron.
>>>
>> Yes. Do not trust your environment, running as a cron job, to be what
>> you think it is. Try
On 11/15/2017 11:57 AM, Paul Heinlein wrote:
In your crontab, try
env PATH="$PATH:/root/bin" bash filename.txt
Maybe I wasn't terribly clear, for which I apologize. I'm not running
the text file itself from cron. I'm running an ansible playbook from
cron, which, as one of its tasks runs
On 11/15/2017 11:48 AM, m.r...@5-cent.us wrote:
Mark Haney wrote:
For the record, this was the only option to handle the task I'm having
issues with inside cron.
Yes. Do not trust your environment, running as a cron job, to be what you
think it is. Try testing it by have your cron job, at the
On 11/15/2017 11:55 AM, Noam Bernstein wrote:
On Nov 15, 2017, at 11:48 AM, m.r...@5-cent.us wrote:
Mark Haney wrote:
This might be a bit OT, but I've never had to do this before and what
I've googled doesn't seem to be working.
I have an ansible playbook that I'm working on that I want to
On Wed, 15 Nov 2017, Mark Haney wrote:
This might be a bit OT, but I've never had to do this before and what I've
googled doesn't seem to be working.
I have an ansible playbook that I'm working on that I want to run as a
cronjob. One task I'm having trouble with is where I have a text file
> On Nov 15, 2017, at 11:48 AM, m.r...@5-cent.us wrote:
>
> Mark Haney wrote:
>> This might be a bit OT, but I've never had to do this before and what
>> I've googled doesn't seem to be working.
>>
>> I have an ansible playbook that I'm working on that I want to run as a
>> cronjob. One task
Mark Haney wrote:
> This might be a bit OT, but I've never had to do this before and what
> I've googled doesn't seem to be working.
>
> I have an ansible playbook that I'm working on that I want to run as a
> cronjob. One task I'm having trouble with is where I have a text file
> with lines
On Wed, 15 Nov 2017 11:29:50 -0500
Mark Haney wrote:
> This text file has to be 'executed' using 'bash filename.txt'. (Don't
> ask why, I'm working on code that isn't mine.)
Try adding #!/bin/bash as the first line of the text file and then run it with
just the filename.
--
MELVILLE THEATRE
This might be a bit OT, but I've never had to do this before and what
I've googled doesn't seem to be working.
I have an ansible playbook that I'm working on that I want to run as a
cronjob. One task I'm having trouble with is where I have a text file
with lines like:
rd.pl "blah blah"
9 matches
Mail list logo