Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • gridtk gridtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • software
  • gridtkgridtk
  • Issues
  • #12
Closed
Open
Issue created Oct 20, 2016 by Guillaume HEUSCH@heusch

Example in documentation does not work

Hi,

I copied / pasted the example found on the package documentation

   import sys
   from gridtk.sge import JobManager
   from gridtk.tools import make_shell

   manager = JobManager()
   command = make_shell(sys.executable, ['myscript.py', '--help'])
   job = manager.submit(command)

and it was not working. The thing is that the database parameter when creating the manager was missing. Maybe you would like to update the doc ? Thanks

Assignee
Assign to
Time tracking