Anacron question Ubuntu 12.04 LTS
I have a script called dssedit and it is in folder /home/username/myscripts. I have put the path to folder myscripts into bash.rc and dssedit runs at the commandline just by typing its name and hitting enter. I would like to run it everyday, 20 mins after booting my pc. I have added a line to anacrontab that says
1 20 disk_space_script dssedit
Should this work or do I need to show the absolute path to the script I want to run? Could someone make an example of how they would do it?
Solved it myself.
1 20 disk_space_script /home/myusername/myscripts/dssedit
did the trick.
There is a tab space between the 1, 20, disk_space_script and the path above. When I spaced it out to show in this post the additional spaces disappeared.
|All times are GMT -5. The time now is 08:06 PM.|