- edit /etc/glite-ce-cream/cream-config.xml and change the DELEGATION_PURGE_RATE value to "3" minutes ... ... - delegate the proxy credentials by specifying the ID of the delegated proxy > glite-ce-delegate-proxy -e cream-27.pd.infn.it:8443 myproxyid Proxy with delegation id [myproxyid] succesfully delegated to endpoint [cream-27.pd.infn.it:8443] - create and edit the test.jdl file [ Type = "job"; JobType = "normal"; VirtualOrganisation = "dteam"; executable="/bin/sleep"; arguments="60000"; CpuNumber=1; ] - submit the test.jdl to cream by forcing the submission to use the previously delegated user credentials, identified with the specified ID (e.g. "myproxyid") > glite-ce-job-submit --delegationId myproxyid -r cream-27.pd.infn.it:8443/cream-lsf-creamtest1 test.jdl 2013-06-05 16:14:11,625 WARN - VirtualOrganisation specified in the JDL but overrided with [dteam] https://cream-27.pd.infn.it:8443/CREAM087580417 - check the job status it should be in REALLY_RUNNING status > glite-ce-job-status -L 1 https://cream-27.pd.infn.it:8443/CREAM738582717 ****** JobID=[https://cream-27.pd.infn.it:8443/CREAM087580417] Current Status = [REALLY-RUNNING] Grid JobID = [N/A] Job status changes: ------------------- Status = [REGISTERED] - [Wed 05 Jun 2013 16:14:11] (1370441651) Status = [PENDING] - [Wed 05 Jun 2013 16:14:12] (1370441652) Status = [IDLE] - [Wed 05 Jun 2013 16:14:12] (1370441652) Status = [RUNNING] - [Wed 05 Jun 2013 16:14:19] (1370441659) Status = [REALLY-RUNNING] - [Wed 05 Jun 2013 16:14:19] (1370441659) Issued Commands: ------------------- *** Command Name = [JOB_REGISTER] Command Category = [JOB_MANAGEMENT] Command Status = [SUCCESSFULL] *** Command Name = [JOB_START] Command Category = [JOB_MANAGEMENT] Command Status = [CREATED] - access to mysql server and make "myproxyid" expired mysql> use delegationcreamdb; Database changed mysql> update delegation set expirationTime=now() where id="myproxyid"; Query OK, 1 row affected (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 0 - after at least 3 minutes check again the job status, now it should in CANCELLED status with description: "job cancelled because the related delegation has expired" > glite-ce-job-status -L 1 https://cream-27.pd.infn.it:8443/CREAM738582717 ****** JobID=[https://cream-27.pd.infn.it:8443/CREAM087580417] Current Status = [CANCELLED] ExitCode = [] Description = [job cancelled because the related delegation has expired] Grid JobID = [N/A] Job status changes: ------------------- Status = [REGISTERED] - [Wed 05 Jun 2013 16:14:11] (1370441651) Status = [PENDING] - [Wed 05 Jun 2013 16:14:12] (1370441652) Status = [IDLE] - [Wed 05 Jun 2013 16:14:12] (1370441652) Status = [RUNNING] - [Wed 05 Jun 2013 16:14:19] (1370441659) Status = [REALLY-RUNNING] - [Wed 05 Jun 2013 16:14:19] (1370441659) Status = [CANCELLED] - [Wed 05 Jun 2013 16:16:58] (1370441818) Issued Commands: ------------------- *** Command Name = [JOB_REGISTER] Command Category = [JOB_MANAGEMENT] Command Status = [SUCCESSFULL] *** Command Name = [JOB_START] Command Category = [JOB_MANAGEMENT] Command Status = [CREATED] *** Command Name = [JOB_CANCEL] Command Category = [JOB_MANAGEMENT] Command Status = [SUCCESSFULL]