. // use this to delete workunits that are not wanted require_once("../inc/util_ops.inc"); admin_page_head("Cancel jobs"); echo "
We recommend that you stop the project before canceling jobs.
Canceled jobs are not removed from the database. Instead, they are marked as 'no longer needed'.
"; // TODO: David, a query that shows all workunits that do not have all results unsent is: // select distinct workunit.id,workunit.name from workunit join result where workunit.id=result.workunitid and result.server_state!=2 order by workunit.id // What is the inverse of this query? Ie select all workunits all of whose results are unsent. This would // be useful to incorporate into this page. start_table(); row2("Workunit ID of first job to cancel", "
You can cancel jobs with instances that are in progress, but if you do so, users will not get credit for these instances.