forked from Cocolabs-SAS/cocorico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75f8b84
commit c7514ca
Showing
23 changed files
with
1,551 additions
and
236 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
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
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,12 @@ | ||
Breadcrumbs | ||
=========== | ||
|
||
You need to add your breadcrumbs in `src/Cocorico/CoreBundle/Resources/content/breadcrumbs.yml` | ||
|
||
Format: | ||
|
||
route_name: | ||
- text: 'home' # text is translatable it will be extracted to breadcrumbs.en.xliff | ||
route: 'route_name' #JMS I18n translatable | ||
- text: 'list' | ||
path: '#' # it will be non route and non translatable path which will be used directly |
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,69 @@ | ||
Crons | ||
===== | ||
|
||
Add this commands to your cron tab and don't forget to set the same PHP timezone "UTC" | ||
in the php.ini file of php and php-cli. | ||
|
||
Required | ||
-------- | ||
|
||
1. Currencies update: | ||
|
||
`17 0 * * * php <path-to-your-app>app/console cocorico:currency:update --env=dev` | ||
|
||
2. Bookings expiration: | ||
|
||
`0 */1 * * * php <path-to-your-app>app/console cocorico:bookings:expire --env=dev` | ||
|
||
3. Bookings validation: | ||
|
||
`0 */1 * * * php <path-to-your-app>app/console cocorico:bookings:validate --env=dev` | ||
|
||
4. Bookings bank wires checking: | ||
|
||
`0 */1 * * * php <path-to-your-app>app/console cocorico:bookings:checkBankWires --env=dev` | ||
|
||
5. Bookings expiring alert: | ||
|
||
`*/15 * * * * php <path-to-your-app>app/console cocorico:bookings:alertExpiring --env=dev` | ||
|
||
6. Bookings imminent alert: | ||
|
||
`*/15 * * * * php <path-to-your-app>app/console cocorico:bookings:alertImminent --env=dev` | ||
|
||
7. Listings calendar update alert: | ||
|
||
`0 0 27 * * php <path-to-your-app>app/console cocorico:listings:alertUpdateCalendars --env=dev` | ||
|
||
|
||
Optionals | ||
--------- | ||
|
||
1. Listings platform notation computing (Optional. ListingSearchBundle must be enabled): | ||
|
||
`30 2 * * * php <path-to-your-app>app/console cocorico_listing_search:computeNotation --env=dev` | ||
|
||
2. Accept or refuse bookings from SMS (Optional. SMSBundle must be enabled) | ||
|
||
`* * * * * php <path-to-your-app>app/console cocorico_sms:bookings:acceptOrRefuseFromSMS --env=dev` | ||
|
||
3. Check phone user from SMS (Optional. SMSBundle must be enabled) | ||
|
||
`* * * * * php <path-to-your-app>app/console cocorico_sms:users:checkPhoneFromSMS --env=dev` | ||
|
||
4. Alert user if new listings are found (Optional. ListingAlertBundle must be enabled) | ||
|
||
`0 3 * * * php <path-to-your-app>app/console cocorico_listing_alert:alertNewListingsFound --env=dev` | ||
|
||
5. Generate Sitemap (Optional. ListingSeoBundle must be enabled) | ||
|
||
`0 4 * * * php <path-to-your-app>app/console cocorico_seo:sitemap:generate --env=dev` | ||
|
||
6. Generate Bookings deposit refund (Optional. ListingDepositBundle must be enabled) | ||
|
||
`*/15 * * * * php <path-to-your-app>app/console cocorico_listing_deposit:bookings:generateDepositRefund --env=dev` | ||
|
||
7. Check Booking Deposit refund payments (Optional. ListingDepositBundle must be enabled) | ||
|
||
`*/15 * * * * php <path-to-your-app> app/console cocorico_listing_deposit:bookings:checkDepositsRefund --env=dev` | ||
|
Oops, something went wrong.