crontab scheduling in .yml project
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
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
Support Staff 1 Posted by Feodor Fitsner on 12 Aug, 2014 03:34 PM
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 Posted by Kirill Müller on 12 Aug, 2014 03:37 PM
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 Posted by Kirill Müller on 12 Aug, 2014 03:39 PM
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 .
Support Staff 4 Posted by Feodor Fitsner on 12 Aug, 2014 03:43 PM
I can't see its settings unless I'm a collaborator. So, what was crontab express you tried?
5 Posted by Kirill Müller on 13 Aug, 2014 08:19 AM
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 ifappveyor.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.Support Staff 6 Posted by Feodor Fitsner on 13 Aug, 2014 03:26 PM
I agree, UI should clearly show what settings are get overridden in appveyor.yml.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:47 AM.