Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Calendrier atelier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itopie
atelier
Calendrier atelier
Commits
6614aec6
Commit
6614aec6
authored
1 month ago
by
Donna Sayed
Browse files
Options
Downloads
Patches
Plain Diff
*_script.sh: screen -RR instead of screen -S
parent
f0058193
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
calcurse_script.sh
+5
-5
5 additions, 5 deletions
calcurse_script.sh
web_script.sh
+2
-3
2 additions, 3 deletions
web_script.sh
with
7 additions
and
8 deletions
calcurse_script.sh
+
5
−
5
View file @
6614aec6
#!/bin/bash
#Script permettant une synchronisation automatique de calcurse-caldav toutes les x minutes (cron)
#
Script permettant une synchronisation automatique de calcurse-caldav toutes les x minutes (cron)
# rm /home/itopie/.calcurse/caldav/sync.db
FILE
=
"/home/itopie/.calcurse/caldav/lock"
FILE
=
"/home/itopie/.
local/share/
calcurse/caldav/lock"
if
test
-e
$FILE
;
then
rm
$FILE
fi
PID
=
"/home/itopie/.calcurse/.calcurse.pid"
PID
=
"/home/itopie/.
local/share/
calcurse/.calcurse.pid"
if
test
-e
$PID
;
then
rm
$PID
fi
calcurse-caldav
--init
=
keep-remote
screen
-
S
calc
-p
0
-X
stuff
"R^M"
screen
-
S
calc
-p
0
-X
stuff
"^G"
screen
-
RR
calc
-p
0
-X
stuff
"R^M"
screen
-
RR
calc
-p
0
-X
stuff
"^G"
This diff is collapsed.
Click to expand it.
web_script.sh
+
2
−
3
View file @
6614aec6
#!/bin/bash
#Script rafraichissant la page web biletoj.itopie.ch toutes les x minutes
#
Script rafraichissant la page web biletoj.itopie.ch toutes les x minutes
screen
-S
calc
-p
2
-X
stuff
"^R"
screen
-RR
calc
-p
2
-X
stuff
"^R"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment