In Linux, is there a way to run a cron job in the foreground (or interactive mode)? (I have a program that runs periodically to accept user input and do some processing. So
For GUI scripts in cron, try the following line in a shell:
GUI
cron
shell
crontab -e
Then in crontab :
crontab
0 7 * * * DISPLAY=:0 /PATH/TO/SCRIPT