[CentOS] run bash <filename> from cron

Wed Nov 15 17:05:53 UTC 2017
Mark Haney <mark.haney at neonova.net>

On 11/15/2017 11:48 AM, m.roth at 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 top of the
> script, issue the env command.
>
>         mark
>
I'm not sure I follow, where should the env command be placed?  At the 
front of the cron line?

-- 
Mark Haney
Network Engineer at NeoNova
919-460-3330 option 1
mark.haney at neonova.net
www.neonova.net