File: taskfile.txt

package info (click to toggle)
golang-github-adhocore-gronx 1.19.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 248 kB
  • sloc: makefile: 6
file content (17 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# this taskfile contains 5 tasks, lines starting with # are comments
*/1 0/1 * * * echo '[task 1] */1 0/1 * * *' > test/task1.out
* * * * * 2021 echo '[task 2] * * * * * 2021' > test/task2.out

# below three are equivalent
@always echo '[task 3] @always' > test/task3.out
@always echo '[task 4] @always' > test/task4.out
*   *  *  * * echo '[task 5] *   *  *  * *' > test/task5.out
* * * * * echo '[task 6] it should go to outfile' && invalid-cmd

# failure tasks
@always xgronx
@always false

# below are invalid
@invalid
* * * * *