-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
old scripts call new console commands scripts for compatibility
- Loading branch information
Showing
12 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
system(__DIR__ . '/../application/console newscoop:notifier:events'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
system(__DIR__ . '/../application/console newscoop:autopublish'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
system(__DIR__ . '/../application/console newscoop:indexer:run'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
system(__DIR__ . '/../application/console newscoop:statistics:clean-old'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
system(__DIR__ . '/../application/console newscoop:stats:send'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
system(__DIR__ . '/../application/console newscoop:notifier:subscriptions'); |
2 changes: 1 addition & 1 deletion
2
newscoop/install/Resources/templates/cron_jobs/_newscoop_autopublish.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* * * * * {{ bin_directory }}/console newscoop:autopublish | ||
* * * * * {{ bin_directory }}/../application/console newscoop:autopublish |
2 changes: 1 addition & 1 deletion
2
newscoop/install/Resources/templates/cron_jobs/_newscoop_indexer.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0 */4 * * * {{ bin_directory }}/console newscoop:indexer:run | ||
0 */4 * * * {{ bin_directory }}/../application/console newscoop:indexer:run |
2 changes: 1 addition & 1 deletion
2
newscoop/install/Resources/templates/cron_jobs/_newscoop_notifyendsubs.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0 */8 * * * {{ bin_directory }}/console newscoop:notifier:subscriptions | ||
0 */8 * * * {{ bin_directory }}/../application/console newscoop:notifier:subscriptions |
2 changes: 1 addition & 1 deletion
2
newscoop/install/Resources/templates/cron_jobs/_newscoop_statistics.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0 */4 * * * {{ bin_directory }}/console newscoop:statistics:clean-old | ||
0 */4 * * * {{ bin_directory }}/../application/console newscoop:statistics:clean-old |
2 changes: 1 addition & 1 deletion
2
newscoop/install/Resources/templates/cron_jobs/_newscoop_stats.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0 5 * * * {{ bin_directory }}/console newscoop:stats:send | ||
0 5 * * * {{ bin_directory }}/../application/console newscoop:stats:send |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
MAILTO=__CRON_EMAIL__ | ||
|
||
* * * * * __WWW_USER__ [ -x /var/lib/newscoop/application/console newscoop:autopublish ] && /var/lib/newscoop/application/console newscoop:autopublish | ||
0 */4 * * * __WWW_USER__ [ -x /var/lib/newscoop/application/console newscoop:indexer:run --verbose ] && /var/lib/newscoop/application/console newscoop:indexer:run | ||
0 */4 * * * __WWW_USER__ [ -x /var/lib/newscoop/application/console newscoop:indexer:run ] && /var/lib/newscoop/application/console newscoop:indexer:run | ||
0 */8 * * * __WWW_USER__ [ -x /var/lib/newscoop/application/console newscoop:notifier:subscriptions ] && /var/lib/newscoop/application/console newscoop:notifier:subscriptions | ||
*/2 * * * * __WWW_USER__ [ -x /var/lib/newscoop/application/console newscoop:notifier:events ] && /var/lib/newscoop/application/console newscoop:notifier:events | ||
0 */4 * * * __WWW_USER__ [ -x /var/lib/newscoop/application/console newscoop:statistics:clean-old ] && /var/lib/newscoop/application/console newscoop:statistics:clean-old |