crontab scheduling in .yml project

Kirill Müller's Avatar

Kirill Müller

12 Aug, 2014 07:53 AM

Hi

How do I configure crontab scheduling in a project that uses an appveyor.yml file? My first attempts to do so via web configuration were unsuccessful. Thanks.

Cheers

Kirill

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Aug, 2014 03:34 PM

    Feodor Fitsner's Avatar

    Hi Kirill,

    It's only UI right now - to make that configurable through yml looks tricky.

    Why was it unsuccessful? You got an error or it never run? What was crontab expression?

  2. 2 Posted by Kirill Müller on 12 Aug, 2014 03:37 PM

    Kirill Müller's Avatar

    I might have got the UTC time wrong due to DST. I'll add an overnight crontab entry and get back to you if it doesn't work. (I presume that this particular configuration item will be honored even in presence of an appveyor.yml file?)

  3. 3 Posted by Kirill Müller on 12 Aug, 2014 03:39 PM

    Kirill Müller's Avatar

    To your question: The build didn't start, but perhaps I got the time wrong. The project URL is https://ci.appveyor.com/project/krlmlr/r-appveyor .

  4. Support Staff 4 Posted by Feodor Fitsner on 12 Aug, 2014 03:43 PM

    Feodor Fitsner's Avatar

    I can't see its settings unless I'm a collaborator. So, what was crontab express you tried?

  5. 5 Posted by Kirill Müller on 13 Aug, 2014 08:19 AM

    Kirill Müller's Avatar

    The scheduled job started on time: I used "0 6 * * *" to start it at 6:00 UTC, and it started two hours ago.

    It seems that there are some configuration settings that are valid even if an appveyor.yml exists (project name, repo, crontab, ...). May I suggest showing them on a separate top page, clearly stating that all settings in subsequent configuration sections are void if appveyor.yml exists? A form of "documentation by interface". This perhaps means only removing some of the settings now in the "General" sections to other sections.

  6. Support Staff 6 Posted by Feodor Fitsner on 13 Aug, 2014 03:26 PM

    Feodor Fitsner's Avatar

    I agree, UI should clearly show what settings are get overridden in appveyor.yml.

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM