<commit_before>
# node-crontab
      
Allows reading, manipulating, and writing user crontabs from [node.js](http://nodejs.org).

## Installation
    $ npm install crontab

## Usage
    require('crontab').load(cronLoaded);

    function cronLoaded(err, tabs) {
        if (err) { console.log(err); process.exit(1); }
        
        var command = '/usr/bin/env echo "starting some service..."';
        tabs.removeAll(command);
        
        var item = tabs.create(command);
        item.everyReboot();
        
        tabs.save(cronSaved);
    }
    
    function cronSaved(err, tabs) {
        if (err) { console.log(err); process.exit(1); }
        
        console.log('saved');
    }

## Documentation
API [reference](http://dachev.github.com/node-crontab).

## Node Compatibility
    
The latest revision of node-crontab is compatible with node --version:

    >= 0.2.5

## License
Copyright 2010, <NAME>.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

This is a JavaScript port of a Python package with the same name written by
- <NAME> <doctormo at gmail com>
<commit_msg>Updated README examples<commit_after>
# node-crontab
      
Allows reading, manipulating, and writing user crontabs with [node.js](http://nodejs.org).

## Installation
    $ npm install crontab

## Examples
  * Simple boot example - [gist](http://gist.github.com/763074)
  * A realistic boot example with [forever](http://github.com/indexzero/forever) - [gist](http://gist.github.com/763076)

## Documentation
API [reference](http://dachev.github.com/node-crontab).

## Compatibility
    
The latest revision of node-crontab is compatible with node --version:

    >= 0.2.5

## License
Copyright 2010, <NAME>.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

This is a JavaScript port of a Python package with the same name written by
- <NAME> <doctormo at gmail com>

{'fraction_non_alphanumeric': 0.09078726968174204, 'fraction_numerical': 0.010050251256281407, 'mean_word_length': 3.423703703703704, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '432501', 'n_tokens_mistral': 873, 'n_tokens_neox': 832, 'n_words': 351}