Go to advanced search

by arntgur
Tue Jun 27, 2017 8:29 pm
Forum: General programming discussion
Topic: crontab does not work?
Replies: 26
Views: 29104

Re: crontab does not work?

Just wrap your cron command this way: /bin/bash -c ' <your command here...> ' There has got to be a better way to specify bash on the cron file level once and not force wraping all commands with it on every cron line. But simply adding !#/bin/bash didn't work for me and I have not tried: #!/usr/bin/...

Go to advanced search