Have you ever wanted to start a program at a very specific time, but didn't really know how to manage that task? Maybe you want your email client to start up only before you wake up in the morning. Or maybe you want to schedule a print job to start at a certain time, or even use your PC as an alarm. Whatever the reason it's nice to know there is a simple GUI tool that allows this to be easily set up. That program is qprogram-starter.
Of course, as with just about every Linux tool, this GUI is nothing more than a front-end for the at command. But for anyone that doesn't want to use the command line, but needs this type of action. Let's take a look at how to install and use this tool.
I will demonstrate the installation of this tool on Ubuntu 10.04. The installation will require you to add the necessary repository, as it is not among the defaults. To add the repository, follow these steps:
sudo apt-add-repository ppa:hakaishi/qprogram-starter.
Now that the repository has been added you need to update apt with the command:
sudo apt-get update
When the update is complete, issue the command:
sudo apt-get install qprogram-starter
to install the application.
You are now ready to use the tool.
To start up qprogram-starter click Applications > Accessories > qprogram-starter. This will open up the one and only window for this tool.
The first thing you must do is check the box for "At date and time". After that click on the Date drop-down and select the date you want the program to start. Next set the time you want the application to run.
Once you have the date/time set you then must define the application you want to run. There are two ways to do that:
Type out the command (along with parameters) in the top text area.
Click Browse and then browse for the command executable (most likely in /usr/bin). Even if you use the Browse button to set the program up you can still add arguments for the command by typing them after the command (think of that text area as nothing more than a bash prompt).
You can then set up a second program to run in the second text area (on the bottom).
Along with the program to run you can also enable:
If you want to save your settings (in case this particular program will be used again and you don't want to have to re-create the task) by clicking the "Save text editors contents" button.
Once you click OK your program will be set to run at the given time.
If you don't want to mess with having to learn to use the at command, and you have a need to run a program at a set time, you won't find a handier tool than qprogram-starter.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.