FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
cron jobs and "shebang" lines
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=163950&th=119740#msg_163950
Faithfully, I have always tried to follow this. However, my host provider is telling me something different for situations when a file is executed through a cron job. They write,
"Also please keep in mind, that each script that you want to run via cron should be chmoded to 755 permissions and you should remove #![shebang line] in the beginning of each script."
Curiously, when I ran the xml aggregation rule, it seemed to work the same even though the shebang line was excluded. It did not seem to matter. However, when I tried to pipe mail, I had all sorts of fatal errors that killed the operation.
Putting aside the issue of why there is different results, I take it that my host is wrong about the advice to take out the shebang lines? And I should ignore the advice?]]>wittrs2010-12-15T02:39:55-00:00Re: cron jobs and "shebang" lines
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=163958&th=119740#msg_163958
PS: The "science" behind "shebang" lines is not FUDforum specific, you can read more about it at http://en.wikipedia.org/wiki/Shebang_(Unix)
]]>naudefj2010-12-16T10:20:06-00:00