{"id":28555166,"url":"https://github.com/sarfarazansari/angular-cron-generator","last_synced_at":"2025-07-05T03:31:41.867Z","repository":{"id":58244077,"uuid":"85910322","full_name":"sarfarazansari/angular-cron-generator","owner":"sarfarazansari","description":"A cron expression generator for AngularJS. In both format quartz and unix","archived":false,"fork":false,"pushed_at":"2017-03-23T12:20:23.000Z","size":29,"stargazers_count":5,"open_issues_count":4,"forks_count":10,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-09T09:59:23.800Z","etag":null,"topics":["angular","cron-jobs","cronjob-scheduler"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sarfarazansari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-23T05:25:11.000Z","updated_at":"2020-10-28T10:02:21.000Z","dependencies_parsed_at":"2022-08-31T04:22:17.738Z","dependency_job_id":null,"html_url":"https://github.com/sarfarazansari/angular-cron-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sarfarazansari/angular-cron-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfarazansari%2Fangular-cron-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfarazansari%2Fangular-cron-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfarazansari%2Fangular-cron-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfarazansari%2Fangular-cron-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarfarazansari","download_url":"https://codeload.github.com/sarfarazansari/angular-cron-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfarazansari%2Fangular-cron-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263676141,"owners_count":23494615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","cron-jobs","cronjob-scheduler"],"created_at":"2025-06-10T05:35:17.521Z","updated_at":"2025-07-05T03:31:41.855Z","avatar_url":"https://github.com/sarfarazansari.png","language":"JavaScript","readme":"# angular-cron-generator\nA cron expression generator for AngularJS. In both format quartz and unix\n\n## demo\n\n[demo]https://embed.plnkr.co/LCNjHr1s1rlr1FSXesMg/\n\n## Installation\n\nInstall using bower:\n\n`bower install angular-cron-generator`\n\n## Use:\n\nInclude the component in your application:\n\n    angular.module('app', ['angular-cron-generator']);\n\nInsert the directive where you would like it to appear in your application:\n\n    \u003ccron-generator ng-model=\"cronString\"\u003e\u003c/cron-generator\u003e\n\nBy setting the ng-model attribute equal to a value in your controller (i.e. `$scope.cronString` in the example above) you have access to the cron syntax output.  \n\nFor example, a job selected to run every month on the 11th at 4:10 AM would output the follow:\n\n\t'10 4 11 * *'\n\nas a string.\n\n## Configuration:\n\nThe directive takes an optional attribute of `config`\n\n    \u003ccron-selection ng-model=\"cronString\" config=\"cronConfig\"\u003e\u003c/cron-selection\u003e\n    \n\n### allowMultiple\n\nYou can also set whether or not you want to allow a user to select multiple values for a cron:\n\n  $scope.myConfig = {\n    allowMultiple: true\n  }\n\nSetting allowMultiple to either true or false will toggle the ability.\n\n\n### Quartz\n\nBy default, the cron expression generated is Unix Cron compatible. Incase you use the [Quartz Scheduler](https://github.com/quartz-scheduler/quartz), you would want to enable the `quartz` mode in the config.\nYou can do so by passing that flag as `true` in the config object.\n\n  $scope.myConfig = {\n    quartz: true\n  }\n\n## Coming Soon:\n\n* Test cases\n* code optimize\n* and hell yeah Support!\n\n\n## Contribution\n\nAny help or suggestion would be appreciated. you can contribute creating a separate branch and specific commit message and raise a PR.\n\nAfter `run` bower and npm commands.\nrun `gulp dev`\n\n\n## Contribution\n\nMIT\n\nFree Software, Hell Yeah!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarfarazansari%2Fangular-cron-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarfarazansari%2Fangular-cron-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarfarazansari%2Fangular-cron-generator/lists"}