{"action":"created","issue":{"url":"https://api.github.com/repos/cylc/cylc/issues/1718","labels_url":"https://api.github.com/repos/cylc/cylc/issues/1718/labels{/name}","comments_url":"https://api.github.com/repos/cylc/cylc/issues/1718/comments","events_url":"https://api.github.com/repos/cylc/cylc/issues/1718/events","html_url":"https://github.com/cylc/cylc/issues/1718","id":126370506,"number":1718,"title":"Automatically generate execution timeout values from directive settings","user":{"login":"arjclark","id":2562650,"avatar_url":"https://avatars.githubusercontent.com/u/2562650?v=3","gravatar_id":"","url":"https://api.github.com/users/arjclark","html_url":"https://github.com/arjclark","followers_url":"https://api.github.com/users/arjclark/followers","following_url":"https://api.github.com/users/arjclark/following{/other_user}","gists_url":"https://api.github.com/users/arjclark/gists{/gist_id}","starred_url":"https://api.github.com/users/arjclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjclark/subscriptions","organizations_url":"https://api.github.com/users/arjclark/orgs","repos_url":"https://api.github.com/users/arjclark/repos","events_url":"https://api.github.com/users/arjclark/events{/privacy}","received_events_url":"https://api.github.com/users/arjclark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cylc/cylc/milestones/7","html_url":"https://github.com/cylc/cylc/milestones/some-day","labels_url":"https://api.github.com/repos/cylc/cylc/milestones/7/labels","id":262616,"number":7,"title":"some-day","description":"Low priority issues and feature requests that may require a lot of work should initially be marked against this milestone.  They can be moved up if work progresses quickly enough.","creator":{"login":"hjoliver","id":2362137,"avatar_url":"https://avatars.githubusercontent.com/u/2362137?v=3","gravatar_id":"","url":"https://api.github.com/users/hjoliver","html_url":"https://github.com/hjoliver","followers_url":"https://api.github.com/users/hjoliver/followers","following_url":"https://api.github.com/users/hjoliver/following{/other_user}","gists_url":"https://api.github.com/users/hjoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/hjoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjoliver/subscriptions","organizations_url":"https://api.github.com/users/hjoliver/orgs","repos_url":"https://api.github.com/users/hjoliver/repos","events_url":"https://api.github.com/users/hjoliver/events{/privacy}","received_events_url":"https://api.github.com/users/hjoliver/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":0,"state":"open","created_at":"2013-02-08T07:11:11Z","updated_at":"2016-01-13T08:52:19Z","due_on":"2038-01-19T08:00:00Z","closed_at":null},"comments":3,"created_at":"2016-01-13T08:52:19Z","updated_at":"2016-01-13T09:57:48Z","closed_at":null,"body":"It would potentially be quite useful/handy/convenient to automatically generate default values for execution timeouts in tasks where directives already contain things such as wallclock times.\r\n\r\nFor example:\r\n```\r\n[runtime]\r\n[[foo]]\r\ncommand scripting = something\r\n...\r\n        [[[job submission]]]\r\n            method = pbs\r\n        [[[directives]]]\r\n            -q = myqueue\r\n            -l select=1:ncpus=6:mem=5GB:arch=linux:vntype=cray_serial\r\n            -l walltime = 00:30:00\r\n```\r\nwould give you a default execution timeout value of the order of PT30M should you decide to add an execution timeout handler to that task.\r\n\r\nIf you wanted to increase/decrease the value you could just define it in the task as well."},"comment":{"url":"https://api.github.com/repos/cylc/cylc/issues/comments/171237309","html_url":"https://github.com/cylc/cylc/issues/1718#issuecomment-171237309","issue_url":"https://api.github.com/repos/cylc/cylc/issues/1718","id":171237309,"user":{"login":"matthewrmshin","id":908613,"avatar_url":"https://avatars.githubusercontent.com/u/908613?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewrmshin","html_url":"https://github.com/matthewrmshin","followers_url":"https://api.github.com/users/matthewrmshin/followers","following_url":"https://api.github.com/users/matthewrmshin/following{/other_user}","gists_url":"https://api.github.com/users/matthewrmshin/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrmshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrmshin/subscriptions","organizations_url":"https://api.github.com/users/matthewrmshin/orgs","repos_url":"https://api.github.com/users/matthewrmshin/repos","events_url":"https://api.github.com/users/matthewrmshin/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrmshin/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T09:57:48Z","updated_at":"2016-01-13T09:57:48Z","body":"The problem is that we'll find ourselves having a lot of trouble writing time syntax parsers for the different queueing systems. It is a lot easier to format a string than to parse one."}}