Results 1 to 1 of 1
i can not get my cron job to work
http://www.linuxforums.org/forum/ubu...ab-please.html
i'm running ubuntu 9.10
but if i do an at with a script it work what i want to know ...
- 05-05-2010 #1Linux Newbie
- Join Date
- Jan 2010
- Location
- usa
- Posts
- 124
loop an at scripts
i can not get my cron job to work
http://www.linuxforums.org/forum/ubu...ab-please.html
i'm running ubuntu 9.10
but if i do an at with a script it work what i want to know is how do i loop the script to run say once every 24 hours
i have the below in the script. I know it is unsafe but my cron job will not run.
#!/bin/bash
echo "password" | sudo apt-get update; apt-get dist-upgrade; notify-send "Computer updated and upgraded" -t 0


Reply With Quote