
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
angular-cron-gen
Advanced tools
A basic way to for users to graphically build a cron expression.
Demo can be found here.
Requirements: AngularJS 1.5+
Include the dependency in your app
angular.module('myApp', ['angular-cron-gen'])
Include the supplied JS and CSS file (or create your own CSS to override defaults).
<link rel='stylesheet' href='build/cron-gen.min.css' type='text/css' media='all' />
<script type='text/javascript' src='build/cron-gen.min.js'></script>
That's it -- you're done!
$ bower install angular-cron-gen
$ npm install angular-cron-gen
<cron-gen ng-model="cronExpression"
options="cronOptions"
template-url="your optional, custom template (Defaults to a bootstrap 3 template)"
cron-format="quartz (Currently only compatible with 'quartz' and defaults to 'quartz')"
ng-disabled="isCronDisabled">
</cron-gen>
angular.module('myApp', ['angular-cron-gen'])
.controller('myController', ['$scope', ($scope) => {
$scope.cronExpression = '0 0 0/3 1/1 * ? *';
$scope.isCronDisabled = false;
$scope.cronOptions = {
formInputClass: 'form-control cron-gen-input', // Form input class override
formSelectClass: 'form-control cron-gen-select', // Select class override
formRadioClass: 'cron-gen-radio', // Radio class override
formCheckboxClass: 'cron-gen-checkbox', // Radio class override
hideMinutesTab: false, // Whether to hide the minutes tab
hideHourlyTab: false, // Whether to hide the hourly tab
hideDailyTab: false, // Whether to hide the daily tab
hideWeeklyTab: false, // Whether to hide the weekly tab
hideMonthlyTab: false, // Whether to hide the monthly tab
hideYearlyTab: false, // Whether to hide the yearly tab
hideAdvancedTab: true, // Whether to hide the advanced tab
use24HourTime: false, // Whether to show AM/PM on the time selectors
hideSeconds: false // Whether to show/hide the seconds time picker
};
}])
Licensed under the MIT license
FAQs
A cron expression generator for AngularJS.
The npm package angular-cron-gen receives a total of 631 weekly downloads. As such, angular-cron-gen popularity was classified as not popular.
We found that angular-cron-gen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.