Scheduling » History » Version 2
Version 1 (Anonymous, 09/14/2007 11:10 AM) → Version 2/3 (Anonymous, 08/05/2008 05:49 PM)
= Scheduling =
Jobs, tasks, and requests must be checked periodically if their status has changed and there is action necessary to be done.
E.g.: After a certain period of time, given in ''/home/procksi/latest/conf/main.ini'', sessions and requests expire and must be deleted.
Edit ''procksi's'' crontab file taking effect for the ''latest'' and ''test'' version:
{{{
> sudo -u procksi crontab -e
}}}
{{{
0-59/1 * * * * /home/procksi/latest/cron/check_sessions.sh
1-59/1 * * * * /home/procksi/latest/cron/check_tasks.sh
2-59/1 * * * * /home/procksi/latest/cron/check_requests.sh
}}}
Analogously for ''/home/procksi/test''.
Jobs, tasks, and requests must be checked periodically if their status has changed and there is action necessary to be done.
E.g.: After a certain period of time, given in ''/home/procksi/latest/conf/main.ini'', sessions and requests expire and must be deleted.
Edit ''procksi's'' crontab file taking effect for the ''latest'' and ''test'' version:
{{{
> sudo -u procksi crontab -e
}}}
{{{
0-59/1 * * * * /home/procksi/latest/cron/check_sessions.sh
1-59/1 * * * * /home/procksi/latest/cron/check_tasks.sh
2-59/1 * * * * /home/procksi/latest/cron/check_requests.sh
}}}
Analogously for ''/home/procksi/test''.