Re: run bash <filename> from cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux