Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 168 for cron (0.02 seconds)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            };
    
            // Test each pattern and see what actually works
            for (String cron : potentiallyValidCrons) {
                boolean result = validator.isValid(cron, context);
                // Don't assert true/false here, just test that method doesn't throw
                assertNotNull(Boolean.valueOf(result), "Validation should return a boolean result for: " + cron);
            }
        }
    
        // Test edge cases to understand the validation behavior
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/JobHelper.java

            jobManager.schedule(cron -> register(cron, scheduledJob));
        }
    
        /**
         * Registers a scheduled job with the specified cron scheduler.
         *
         * @param cron the cron scheduler to use
         * @param scheduledJob the scheduled job to register
         */
        public void register(final LaCron cron, final ScheduledJob scheduledJob) {
            if (scheduledJob == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
        }
    
        // Test validation with invalid cron expressions
        @Test
        public void test_invalidCronExpressions() {
            TestBean bean = new TestBean();
    
            // Test invalid cron expression
            bean.setCronExpression("invalid");
            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

                cb.fetchFirst(fessConfig.getPageScheduledJobMaxFetchSizeAsInteger());
            });
        }
    
        /**
         * Starts all available scheduled jobs.
         * @param cron The cron scheduler.
         */
        public void start(final LaCron cron) {
            scheduledJobBhv.selectCursor(cb -> {
                cb.query().setAvailable_Equal(Constants.T);
                cb.query().addOrderBy_SortOrder_Asc();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. .github/workflows/people.yml

    name: FastAPI People
    
    on:
      schedule:
        - cron: "0 14 1 * *"
      workflow_dispatch:
        inputs:
          debug_enabled:
            description: Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)
            required: false
            default: "false"
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/validation/CronExpression.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    /**
     * Validation constraint to ensure that a string is a valid cron expression.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    public @interface CronExpression {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

        /** The timestamp when the scheduler was last updated */
        protected long schedulerTime;
    
        @Override
        public void schedule(final LaCron cron) {
            schedulerTime = systemHelper.getCurrentTimeAsLong();
            scheduledJobService.start(cron);
    
            final String myName = fessConfig.getSchedulerTargetName();
            if (StringUtil.isNotBlank(myName)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. .github/workflows/arm-ci-extended.yml

    # limitations under the License.
    # ==============================================================================
    
    name: ARM CI Extended
    
    on:
      push:
        tags:
          - v2.**
      schedule:
        - cron: '0 4 * * *'
    
    permissions:
      contents: read
    
    jobs:
      build:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: [self-hosted, linux, ARM64]
        strategy:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. .github/workflows/scorecards-analysis.yml

      branch_protection_rule:
      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '26 3 * * 2'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    permissions: read-all
    
    jobs:
      analysis:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  10. .github/workflows/upgrade-to-latest-wrapper.yml

    name: Upgrade to latest wrapper
    
    on:
      schedule:
        - cron: '0 4 * * *'
      workflow_dispatch:
    
    permissions:
      contents: write
    
    jobs:
      upgrade-latest-wrapper:
        runs-on: ubuntu-latest
    
        if: github.repository == 'gradle/gradle'
    
        steps:
          - name: Checkout repository
            uses: actions/checkout@v6
            with:
              ref: devprod/upgrade-to-latest-wrapper
              token: ${{ secrets.GITHUB_TOKEN }}
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top