Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
62f59a03
Commit
62f59a03
authored
Apr 29, 2024
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix cron syntax
parent
2072962f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ReconversionMonaPrestatairesCommand.php
src/Command/ReconversionMonaPrestatairesCommand.php
+4
-4
No files found.
src/Command/ReconversionMonaPrestatairesCommand.php
View file @
62f59a03
...
@@ -28,10 +28,10 @@ class ReconversionMonaPrestatairesCommand extends Command
...
@@ -28,10 +28,10 @@ class ReconversionMonaPrestatairesCommand extends Command
//Les reconversions doivent avoir lieu les dimanches soir qui précèdent les 14 et 28.
//Les reconversions doivent avoir lieu les dimanches soir qui précèdent les 14 et 28.
// On utilise les crons suivants :
// On utilise les crons suivants :
//15 23 * * 0
[ "$(date +\%d)" -ge 08 -a "$(date +\%d)" -le 14 ] && kohinos
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires twice_a_month
//15 23 * * 0
kohinos [ "$(date +\%d)" -ge 08 -a "$(date +\%d)" -le 14 ] &&
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires twice_a_month
//15 23 * * 0
[ "$(date +\%d)" -ge 22 -a "$(date +\%d)" -le 28 ] && kohinos
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires twice_a_month
//15 23 * * 0
kohinos [ "$(date +\%d)" -ge 22 -a "$(date +\%d)" -le 28 ] &&
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires twice_a_month
//17 23 * * 0
[ "$(date +\%d)" -ge 22 -a "$(date +\%d)" -le 28 ] && kohinos
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires once_a_month
//17 23 * * 0
kohinos [ "$(date +\%d)" -ge 22 -a "$(date +\%d)" -le 28 ] &&
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires once_a_month
//19 23 * 1,3,5,7,9,11 0
[ "$(date +\%d)" -ge 22 -a "$(date +\%d)" -le 28 ] && kohinos
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires once_every_two_month
//19 23 * 1,3,5,7,9,11 0
kohinos [ "$(date +\%d)" -ge 22 -a "$(date +\%d)" -le 28 ] &&
php /home/kohinos/kohinos/bin/console kohinos:ssa:reconversion-prestataires once_every_two_month
protected
static
$defaultName
=
'kohinos:ssa:reconversion-prestataires'
;
protected
static
$defaultName
=
'kohinos:ssa:reconversion-prestataires'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment