1

I placed a command in a script file called app.sh that simply execute an application.

sh app.sh 

When I run it with terminal directly works fine!! but when put it under cron does not work..I tired with three ways of actually the same command but different approach(see below commands). It did not work either. What went wrong in the script? Anyone see something?

/opt/extras.ubuntu.com/pushbullet-indicator/bin/pushbullet-indicator

gnome-terminal -x sh -c "/opt/extras.ubuntu.com/pushbullet-indicator/bin/pushbullet-indicator"

exec /opt/extras.ubuntu.com/pushbullet-indicator/bin/pushbullet-indicator

under the crontab -e

*/1 * * * * sh /home/app.sh
Evan S
  • 377

0 Answers0