Question
Crontab not working or shell scripts wrong setup?
Hello!
I tried to setup a cronjob with crontab to run a shell script every 10 minute. But it´s not working.
The Shell Script file:
"
#!/bin/bash
# Remove Files
rm -f /var/log/messages
"
The Crontab -E Config file:
"
*/10 * * * * /vpndel/script
"¨
But when i check the log file the text is still there after 10 minutes have gone?
What could be wrong?
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×