[CentOS] run bash <filename> from cron

Wed Nov 15 16:47:26 UTC 2017
Frank Cox <theatre at sasktel.net>

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