@php use NioAddons\NioCron\Enums\ScheduleDelay; use NioAddons\NioCron\Enums\TransactionTimeout; $delayItems = config('modules.'.\NioAddons\NioCron\NioCron::SLUG.'.delays'); $timeoutItems = config('modules.'.\NioAddons\NioCron\NioCron::SLUG.'.transactionTimeout'); $refDelayItems = config('modules.'.\NioAddons\NioCron\NioCron::SLUG.'.referralDelays'); $refApproveTimeItems = config('modules.'.\NioAddons\NioCron\NioCron::SLUG.'.referralApproveTime'); @endphp @extends('admin.layouts.modules') @section('title', __('Components') . ' / ' . __('NioCron')) @section('content')

{{ __('Components') }} / {{ __("NioCron") }}

{{ __('Manage cron jobs feature to automation on investment and profit calculation.') }}

@if(!$compatibility)

{{ __("Important") }}: {{ __("Please upgrade your main application to latest version and try out.") }}

@else
@if(is_demo())
{!! 'All the additional Module and Add-ons are NOT part of main product. Please feel free to contact us for more information or to get those.' !!}
@endif
{{ __("Manage Cron Job") }} / {{ __("NioCron") }} {{ 'Addon' }} @if ($outdated) {{ __('Outdated') }} @endif

{{ __("Setup cron jobs for automating repetitive below tasks.") }}

{{ __('Enable or disable the cron job processing service.') }}
{{ __('Save the logs into application log file for debuging.') }}

{{ __('Caution:') }}
{!! __("Please add below cron configuration into your server, so server can runs this schedule command every minute.") !!}
* * * * * cd /path-to-your-project/core_invapp && php artisan schedule:run >> /dev/null 2>&1
{!! __("You must change the 'path-to-your-project' accordingly your server project path.") !!}

{{ __('Enable cron for the invested plan synchronization.') }}
{{ __('Enable cron for automatically paid the profits.') }}
{{ __('Enable cron for completing auto balance transfer.') }}
{{ __('Enable cron for cancelling online deposit transactions.') }}
{{ __('Enable cron for cancelling offline deposit transactions.') }}
{{ __('Enable cron for automatically approve referral transactions.') }}
{{ __('Set time for approving signup referral bonuses.') }}
{{ __('Approval time delay') }}
{{ __('Number') }}
{{ __('Set time for approving deposit referral bonuses.') }}
{{ __('Approval time delay') }}
{{ __('Number') }}
{{ __('Set time for approving investment referral bonuses.') }}
{{ __('Approval time delay') }}
{{ __('Number') }}
@csrf
@endif
@endsection