I'm trying to make crontab run a sh script every 5 minutes.
This is my root (sudo crontab -e) crontab setup:
*/5 * * * * /etc/test.sh
and this is the script:
#!/bin/bash
echo "time:$(date)"
EDIT: i've made it work by using the user crontab file (crontab -e) but I still need to run my script with administrative privileges...