# \#cron

**URL:** https://travis-ci.community/tag/cron/33.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [Cron Job functionality does not work](https://travis-ci.community/t/cron-job-functionality-does-not-work/14053)

<div class="topic-metadata">

**Author:** [@Uaman](https://travis-ci.community/u/Uaman)\
**Replies:** 5\
**Last updated:** [November 8, 2023, 6:27pm UTC](https://travis-ci.community/t/cron-job-functionality-does-not-work/14053 "2023-11-08T18:27:28Z")

</div>

I noticed that travis “Cron Jobs” feature does not trigger builds. Could you help me please?

---

## [Add ability to specify what time of day a cron job is executed](https://travis-ci.community/t/add-ability-to-specify-what-time-of-day-a-cron-job-is-executed/880)

<div class="topic-metadata">

**Author:** [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Replies:** 7\
**Last updated:** [February 2, 2023, 3:22pm UTC](https://travis-ci.community/t/add-ability-to-specify-what-time-of-day-a-cron-job-is-executed/880 "2023-02-02T15:22:05Z")

</div>

While we do not execute cron jobs more than once a day, it is reasonable to specify what time it should be executed (subject to other considerations; that it has not run in the last 24 hours, for example).

---

## [Cron jobs stopped working 2021-06-09?](https://travis-ci.community/t/cron-jobs-stopped-working-2021-06-09/11810)

<div class="topic-metadata">

**Author:** [@RalfJung](https://travis-ci.community/u/RalfJung)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 9:10am UTC](https://travis-ci.community/t/cron-jobs-stopped-working-2021-06-09/11810 "2021-07-06T09:10:22Z")

</div>

On three different projects that have set up a daily cron job, the last cron job ran on 2021-06-09: Travis CI - Test and Deploy with Confidence Travis CI - Test and Deploy with Confidence Travis CI - Test and Deploy wi…

---

## [Combine cron-scheduled builds checks about github changes](https://travis-ci.community/t/combine-cron-scheduled-builds-checks-about-github-changes/10644)

<div class="topic-metadata">

**Author:** [@mbrandizi](https://travis-ci.community/u/mbrandizi)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 8:41pm UTC](https://travis-ci.community/t/combine-cron-scheduled-builds-checks-about-github-changes/10644 "2020-11-20T20:41:28Z")

</div>

I’ve asked about this a while ago and now that Travis-CI is restricting the available free build minutes to all accounts, this feature becomes even more important. The problem is that, AFAIK, currently it’s not possible…

---

## [Check a conditional build statement during build](https://travis-ci.community/t/check-a-conditional-build-statement-during-build/10269)

<div class="topic-metadata">

**Author:** [@icasimpan](https://travis-ci.community/u/icasimpan)\
**Replies:** 3\
**Last updated:** [October 23, 2020, 6:13pm UTC](https://travis-ci.community/t/check-a-conditional-build-statement-during-build/10269 "2020-10-23T18:13:38Z")

</div>

Hello, I’m wondering what I’m doing wrong in this .travis.yml file and I can’t make it run from daily cron. dist: bionic language: minimal script: - echo "Test if cron runs" if: type(TRAVIS\_EVENT\_TYPE) = cron It…

---

## [Detect TRAVIS\_EVENT\_TYPE cron daily or weekly](https://travis-ci.community/t/detect-travis-event-type-cron-daily-or-weekly/9927)

<div class="topic-metadata">

**Author:** [@dsever](https://travis-ci.community/u/dsever)\
**Replies:** 2\
**Last updated:** [October 18, 2020, 11:06am UTC](https://travis-ci.community/t/detect-travis-event-type-cron-daily-or-weekly/9927 "2020-10-18T11:06:52Z")

</div>

Hi, I looking for solution to detect daily or weekly cron job? Te idea is to use same job to build docker images as early dev on daily basis, and ad well on weekly basis. Thanks

---

## [How can I schedule 2 or more Daily Cron-Jobs on Travis with Same Branch](https://travis-ci.community/t/how-can-i-schedule-2-or-more-daily-cron-jobs-on-travis-with-same-branch/9714)

<div class="topic-metadata">

**Author:** [@rahulbhatiya-NU](https://travis-ci.community/u/rahulbhatiya-NU)\
**Replies:** 2\
**Last updated:** [August 26, 2020, 1:46pm UTC](https://travis-ci.community/t/how-can-i-schedule-2-or-more-daily-cron-jobs-on-travis-with-same-branch/9714 "2020-08-26T13:46:55Z")

</div>

I want to schedule 2 or more Daily Cron-Jobs on Travis with the Same Branch. But whenever I add the Cron Job for the same branch, it replaces the old (already existing) job. Is there any solution for that?

---

## [Conditional cron job not working](https://travis-ci.community/t/conditional-cron-job-not-working/8005)

<div class="topic-metadata">

**Author:** [@itsron717](https://travis-ci.community/u/itsron717)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 4:33am UTC](https://travis-ci.community/t/conditional-cron-job-not-working/8005 "2020-04-06T04:33:35Z")

</div>

The last part of my .travis.yml file is as follows: after\_success: - if \[ "$TRAVIS\_EVENT\_TYPE" = "cron" \]; then sh .travis-push.sh; else echo "Not cron. Skipping push to GitHub"; fi I have set up the cronjob to run ev…

---

## [Deploy running with deploy.on.tags = true even on non-tag builds](https://travis-ci.community/t/deploy-running-with-deploy-on-tags-true-even-on-non-tag-builds/7511)

<div class="topic-metadata">

**Author:** [@geerlingguy](https://travis-ci.community/u/geerlingguy)\
**Replies:** 6\
**Last updated:** [March 9, 2020, 5:19pm UTC](https://travis-ci.community/t/deploy-running-with-deploy-on-tags-true-even-on-non-tag-builds/7511 "2020-03-09T17:19:15Z")

</div>

I have jobs triggered by commits to master (https://travis-ci.com/geerlingguy/ansible-collection-php\_roles/jobs/296104246) as well as triggered by cron scheduled builds (https://travis-ci.com/geerlingguy/ansible-collecti…

---

## [Cron Jobs missing from settings page](https://travis-ci.community/t/cron-jobs-missing-from-settings-page/5942)

<div class="topic-metadata">

**Author:** [@tmcconechy](https://travis-ci.community/u/tmcconechy)\
**Replies:** 0\
**Last updated:** [November 14, 2019, 7:39pm UTC](https://travis-ci.community/t/cron-jobs-missing-from-settings-page/5942 "2019-11-14T19:39:58Z")

</div>

Hi, Something wierd is going on with our CRON jobs. They seem to be running (last night’s did). But when i go to the settings page: https://travis-ci.com/infor-design/enterprise/settings None of the jobs were listed …

---

## [Job hangs but only when run from cron](https://travis-ci.community/t/job-hangs-but-only-when-run-from-cron/3593)

<div class="topic-metadata">

**Author:** [@djhoese](https://travis-ci.community/u/djhoese)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 4:17pm UTC](https://travis-ci.community/t/job-hangs-but-only-when-run-from-cron/3593 "2019-06-02T16:17:36Z")

</div>

I have a series of jobs that pass when run via push, but when run during a weekly cron job they fail on the OSX environment. The jobs start out by installing a python Anaconda environment by using the tools from ci-helpe…

---

## [Create a new configurable cron job with travis](https://travis-ci.community/t/create-a-new-configurable-cron-job-with-travis/662)

<div class="topic-metadata">

**Author:** [@nashid](https://travis-ci.community/u/nashid)\
**Replies:** 1\
**Last updated:** [March 29, 2019, 3:18pm UTC](https://travis-ci.community/t/create-a-new-configurable-cron-job-with-travis/662 "2019-03-29T15:18:38Z")

</div>

Currently, Travis can only run cron job from a prefined branch. This is useful up to a certain point, for example, building the git hub page from gh-pages branch. However, we would like to see having this feature a bit …

---

## [Daily cron is not daily](https://travis-ci.community/t/daily-cron-is-not-daily/2694)

<div class="topic-metadata">

**Author:** [@yannickl88](https://travis-ci.community/u/yannickl88)\
**Replies:** 2\
**Last updated:** [March 19, 2019, 5:20pm UTC](https://travis-ci.community/t/daily-cron-is-not-daily/2694 "2019-03-19T17:20:05Z")

</div>

Hey all! I’m wondering why the daily cron is not daily. We have a package that is configured to build daily: However when looking at the build history: (https://i.imgur.com/4ng74eD.png, I can only post one image) it s…
