Tutorial by Examples

Note: at is not installed by default on most of modern distributions. To execute a job once at some other time than now, in this example 5pm, you can use echo "somecommand &" | at 5pm If you want to catch the output, you can do that in the usual way: echo "somecommand > o...
systemd provides a modern implementation of cron. To execute a script periodical a service and a timer file ist needed. The service and timer files should be placed in /etc/systemd/{system,user}. The service file: [Unit] Description=my script or programm does the very best and this is the descri...

Page 1 of 1