Skip to main content

python-cron-migration

python-cron-migration is a CLI package that was built for helping you manage your cronjobs by revisions files system. It contains two main components:

  1. a CLI revision system, which can generate/upgrade/downgrade revision files by simple commands.
  2. a lightweight crontab high-level package which integrates with the crontab library on your OS

commands

entry point command example description
cronmig init cronmig init initializes a new environment
cronming-revision make cronmig-revision make [filename] generates a new revision file . [filename] should be a short description of your revision file
cronming-revision upgrade cronmig-revision upgrade upgrades all non-upgraded files by invoking the upgrade method within your revision file
cronming-revision downgrade cronmig-revision downgrade [steps] downgrades revisions files [steps] times. [steps] is the number of downgrading (from the most upgraded file)

Installation

You can install the package via composer:

composer require spatie/package-skeleton-laravel

You can publish and run the migrations with:

php artisan vendor:publish --provider="Spatie\Skeleton\SkeletonServiceProvider" --tag="migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="Spatie\Skeleton\SkeletonServiceProvider" --tag="config"

This is the contents of the published config file:

return [
];

Usage

$skeleton = new Spatie\Skeleton();
echo $skeleton->echoPhrase('Hello, Spatie!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email freek@spatie.be instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Metadata

Release files for itay-bardugo-cronmig 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itay-bardugo-cronmig 1.0.0
File Size Uploaded
itay-bardugo-cronmig-1.0.0.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for itay-bardugo-cronmig 1.0.0
File Interpreter ABI Platform
itay_bardugo_cronmig-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.2 kB

Release files / itay-bardugo-cronmig-1.0.0.tar.gz

Download URL itay-bardugo-cronmig-1.0.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c6c497440ca9b673e578d955d2322fc6492b77d91657479752556b3f0f28fe05
BLAKE2b-256 checksum
How to use checksums
bea09321378af7582a99077037e30eb946f75f419edb6176d930e24667192a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release files / itay_bardugo_cronmig-1.0.0-py3-none-any.whl

Download URL itay_bardugo_cronmig-1.0.0-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
279daee6c9e1b27b9b00a77c0e8b771f224daeb525945bc25a0536ee06daa7cb
BLAKE2b-256 checksum
How to use checksums
43253dda44be5667b353ea92e842c8f1230a9d8cfb2732bcfc7ce53b9835f7fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page