Skip to content

jobsubmit is a python script designed for reading the list of command from a file and execute in particular order.

License

Notifications You must be signed in to change notification settings

rajeshprasanth/jobsubmit

Repository files navigation

Continuous Integration Gitlab pipeline status Downloads GitHub All Releases
Pull Requests GitHub closed pull requests
GitHub pull requests
Issues GitHub closed issues
GitHub issues
License GitHub Repository GitHub repo size
Release GitHub release (latest by date)
GitHub Release Date
Commit History GitHub contributors
GitHub last commit
GitHub commit activity

jobsubmit

jobsubmit is a python script designed for reading the list of command from a file and execute in particular order.

It is licensed under version 3.0 of the GNU General Public License. See LICENSE for more information.

The jobsubmit is official hosted in github repository at https://github.com/rajeshprasanth/jobsubmit/ and mirrored by gitlab reposistory at https://gitlab.com/rajeshprasanth/jobsubmit/

Table of contents

Dependency

jobsubmit has been written in python. It is tested in python 3.6.8. However, any version of python 3.x will support.

Download

jobsubmit can be downloaded in two ways:

Method:1

The stable version of jobsubmit can be directly downloaded as an archive file from below address.

Method:2

Alternatively, developmental version can be download from this repository following below steps:

From github

Run below command to download from github repository

git clone https://github.com/rajeshprasanth/jobsubmit.git
cd jobsubmit
./jobsubmit

From gitlab

Run below command to download from github repository

git clone https://gitlab.com/rajeshprasanth/jobsubmit.git
cd jobsubmit
./jobsubmit

Installation

For Bash shell system, add these lines in ~/.bashrc or ~/.profile or /etc/profile:

     export PATH=/{jobsubmit_path}:$PATH

For C shell system, add these lines in ~/.cshrc or ~/.profile or /etc/profile:

     setenv PATH "/{jobsubmit_path} :$PATH"

Once added please do restart your login shell for the installation to take effect immediately.

Running of jobsubmit

If jobsubmit is setup added to $PATH variable, then invoking jobsubmit anywhere in the file system should work.

Running jobsubmit without arguments will display help message as below.

Usage: jobsubmit [options] [args]

option:
   -h|--help            Display this information
   -v|--version         Display the version of script.
   -c|--cleanup         Cleanup stdout and stderr directories in current directory(if any)
  -fc|--fullcleanup     Cleanup stdout,stderr directories and logfile in current directory(if any)

args:
  <file> all            Run all the lines from the <file>
  <file> 1              Run 1st line from the <file>
  <file> 1,2,3          Run 1,2 and 3rd lines from the <file>
  <file> 1-5            Run 1 to 5th lines from the <file>

For bug reporting please reach out <rajeshprasanth@rediffmail.com>

TODO

  1. Rewrite documentation to mention use of install.sh
  2. Remove dependency on bash script to display alertscreen

About

jobsubmit is a python script designed for reading the list of command from a file and execute in particular order.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published