File: case7

package info (click to toggle)
taskd 1.1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,580 kB
  • sloc: cpp: 13,971; python: 1,523; sh: 1,052; perl: 610; ansic: 48; makefile: 15
file content (25 lines) | stat: -rwxr-xr-x 831 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

# Use Case 7: Recurring task added, then child tasks created in separate places,
#             followed by a sync.

echo '--- add 1 ---------------------------------------------------------------'
task rc:tw1/rc add Recurring due:today recur:daily

echo '--- sync 1,2 ------------------------------------------------------------'
task rc:tw1/rc sync
task rc:tw2/rc sync

echo '--- list 1 generate instances -------------------------------------------'
task rc:tw1/rc list

echo '--- list 2 generate instances -------------------------------------------'
task rc:tw2/rc list

echo '--- sync 1,2 ------------------------------------------------------------'
task rc:tw1/rc sync
task rc:tw2/rc sync

echo '--- sync 1,2 ------------------------------------------------------------'
task rc:tw1/rc sync
task rc:tw2/rc sync