I created two scripts. One for opening an image with kuickshow, the other for powering off computer.
my_picture script contains:
Code:
#!/bin/bash
# Warning to Shutdown
kuickshow '/home/bdd86/Documents/goodnight.gif'
my_poweroff script contains:
Code:
#!/bin/bash
# Poweroff now
poweroff
Crontab -e
Code:
53 22 * * * '/home/bdd86/Documents/my_picture'
54 22 * * * '/home/bdd86/Documents/my_poweroff'
Nothing happens at 10:53.... my_picture does not run... but a minute later my_poweroff runs perfect.
When I run ./my_picture in konsole it opens fine. but Crontab just doesnt seem to run it at all?
How can I get crontab to open a picture in kuickshow?
THank you!