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 I want to schedule it as a cron job that can run in the foreground).
Share
Try this out on your user’s
crontab:It will open (hourly) an
xtermwith your script executing, and exit after your script exits. Of course, you should modify the@hourlypart to suit your needs.