I wrote a small script with an if statement in it
#!/bin/sh if .... fi
Then I wanted to run the script as a Cronjob but it was not working.