On an HP-UX Unix system, the "cron" daemon is used to schedule and execute tasks (also known as cron jobs) at regular intervals. The "cron" daemon is usually started at boot time and runs in the background to execute tasks according to the crontab files.
To start, stop, or configure the "cron" daemon on HP-UX, you can use the following commands:
/sbin/init.d/cron startSource:www.lautturi.com
/sbin/init.d/cron stop
/sbin/init.d/cron restart
/sbin/init.d/cron status
crontab -e
crontab -u username -e
Replace "username" with the name of the user.
crontab -l
crontab -u username -l
Note: The "cron" daemon reads the crontab files every minute and executes the tasks that are scheduled to run at that time. Each line in the crontab file represents a task, and consists of six fields: minute, hour, day of month, month, day of week, and the command to be executed. For example, to execute a task every day at 2:00 AM, you can use the following line in the crontab file:
0 2 * * * /path/to/command
For more information about the syntax and usage of the crontab files, you can refer to the "crontab" man page or online documentation.