Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Liberate
backupninja
Commits
7691261c
Commit
7691261c
authored
19 years ago
by
elijah
Browse files
Options
Downloads
Patches
Plain Diff
added 'daily', hours don't need 0 prefix.
parent
c7e96acc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backupninja
+2
-2
2 additions, 2 deletions
backupninja
changelog
+3
-3
3 additions, 3 deletions
changelog
with
5 additions
and
5 deletions
backupninja
+
2
−
2
View file @
7691261c
...
...
@@ -199,9 +199,9 @@ function isnow() {
whendayofweek
=
$1
;
at
=
$2
;
whentime
=
$3
;
whenday
=
`
toint
"
$whendayofweek
"
`
whendayofweek
=
`
tolower
"
$whendayofweek
"
`
whentime
=
`
echo
"
$whentime
"
|
sed
's/:[0-9][0-9]$//'
`
whentime
=
`
echo
"
$whentime
"
|
sed
's/:[0-9][0-9]$//'
|
sed
-r
's/^([0-9])$/0\1/'
`
if
[
"
$whendayofweek
"
==
"everyday"
]
;
then
if
[
"
$whendayofweek
"
==
"everyday"
-o
"
$whendayofweek
"
==
"daily"
]
;
then
whendayofweek
=
$nowdayofweek
fi
...
...
This diff is collapsed.
Click to expand it.
changelog
+
3
−
3
View file @
7691261c
...
...
@@ -3,10 +3,10 @@ version 0.5 -- April 12 2005
rdiff handler supports local dest
logfile is created if it doesn't exist
added "when = hourly"
xxxx fixed bug with 'when' option
added 'nice' to rdiff handler
added optional 'nicelevel' to rdiff handler
fixed bug where actions were not run in numeric order.
improved 'when' parsing.
version 0.4.4 -- March 18 2005
results of handlers are now read line by line.
changes to rdiff handler: added "options", and "keep" is
...
...
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