I can build my android project in command line with ./gradlew assembleDebug but how do I automate this so Gradle builds itself once every day? Is there any way to do this without downloading something additional like Jenkins?
Asked
Active
Viewed 195 times
2 Answers
0
If you're on Linux and can do it from the command line, you should look into CRON. That's built into every Linux install I've ever seen.

Paul Sturm
- 2,118
- 1
- 18
- 23
0
Use can use crontab to automate without downloading any package type crontab -e
* * * * * Command to be executed
- Min (0 - 59)
- Hour (0 - 23)
- Day of month (1 - 31)
- Month (1 - 12)
- Day of week (0-7)
lets say if you want to automate everyday around 22:00
0 21 * * * ./gradlew assembleDebug

Guardian
- 383
- 4
- 17