Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle_cron_log
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
moodle
moodle_cron_log
Commits
2cd6c16c
Commit
2cd6c16c
authored
2 years ago
by
Didier Cadiou
Browse files
Options
Downloads
Patches
Plain Diff
Mise à jour du champs duration restaurée
parent
28e7e4fb
Branches
full_output
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
import_into_DB.sh
+4
-5
4 additions, 5 deletions
import_into_DB.sh
with
4 additions
and
5 deletions
import_into_DB.sh
+
4
−
5
View file @
2cd6c16c
...
...
@@ -126,11 +126,10 @@ set started = substr(
-- duration
update tasks
set duration =substr(
substr(output,
1,
instr(output, ' seconds')-1),
-20);
-- set duration = replace(replace(output, ' seconds', ''), '... used ', '');
output,
instr(output, 'dbqueries'||char(10)) + 19,
instr(output, 'seconds'||char(10)) - instr(output, 'dbqueries'||char(10)) - 19
);
update tasks
set duration = null
where not output like '%second%';
...
...
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