Manually start scheduled launchd job
Posted
by
Pascal
on Server Fault
See other posts from Server Fault
or by Pascal
Published on 2011-03-18T23:59:28Z
Indexed on
2011/03/19
0:11 UTC
Read the original article
Hit count: 499
On our Mac OS X (10.6) Server we have setup several backup scripts that are controlled by launchd
and launched at specific times. For this we have defined StartCalendarInterval
and this all works very well.
Now it happens that I would like to start one of these jobs out of schedule, but this does not start the job (but also does not give an error/warning):
sudo launchctl start org.job-label
The manpage of launchtl states that start
is intended to test on-demand jobs, no word of scheduled jobs. Is there a way to kickstart scheduled jobs?
© Server Fault or respective owner