How to Manage Automatic Synchronization and Scheduling
Understand IHASHOP automatic synchronization infrastructure, manual supplier sync, the Cron Center, queue workers and duplicate-run safeguards.
Is automatic synchronization available?
In the reviewed IHASHOP Dropshipping 1.0.0 source, automatic synchronization is not an active product feature. SenkronYonetimi explicitly specifies manual triggering and no scheduling. There is no supplier interval or automatic enable/disable control. A planned-key helper exists, but no automatic product synchronization command was identified.
1. Manual product synchronization
Open Marketplace > Dropshipping Sync (/secure/dropshipping/senkron). Valid entitlement, Seller role and settings.edit permission are required. Select the connection and start Preview or Apply. Both fetch real data; Apply reads again in a separate run and persists validated changes. The screen creates an ekran-UUID key and dispatches SenkronKosuIsi only for a new run. Queued does not mean completed.
2. Laravel Scheduler and Cron Center
routes/console.php registers active scheduled_tasks records using cron expressions. Optional without_overlapping and start, success and failure recording are supported. The scheduler updates heartbeat_scheduler every minute. An empty active collection uses a fallback list.
ScheduledTask::varsayilanlar defines known commands; arbitrary command input is unsupported. system:kuyruk-bosalt defaults to every minute and ds:mutabakat-tara to every five minutes. Reconciliation checks canceled or returned supplier orders without downloading product feeds. If its last success is older than 15 minutes, API order submission closes. Marketplace stock/price sending is also not supplier feed retrieval.
3. Queue processing and safety
Server cron invokes schedule:run for due tasks. Queue processing must be provided separately through the system:kuyruk-bosalt task or an authorized worker appropriate to the installation. config/queue.php defaults to database connection, default queue and retry_after of 150 seconds; environment configuration may override them. SenkronKosuIsi defines tries=3, backoff=[60,300,900] and timeout=120 seconds.
Three attempts are not three retries. Worker timeout and retry_after must be compatible. Verify actual server configuration before changing it. A healthy scheduler does not imply automatic product downloads.
4. Planned run key
planliAnahtar(connection_id, window start) hashes connection ID and format('c') timestamp with SHA-256. The result is 64 characters. Identical connection and formatted window produce the same key. Different timezone representations of one instant may produce different keys; a future implementation needs a standard window representation. The helper does not register cron, make requests or dispatch jobs.
No production scheduling caller was identified.
5. Duplicate-run protection
baslat returns run, new flag and reason. The same supplier and idempotency_key return the existing run, even if the requested mode differs. Apply creation uses a supplier row lock. A fresh competing apply returns baska_apply_suruyor and the returned run may belong to another request. Dry_run is independent of this restriction. Stale runs can be conditionally closed after the default 30-minute heartbeat threshold.
Re-executing a finished run writes no data. These safeguards are not a blanket exactly-once guarantee for every concurrent job.
6. GiyimDepom and Luxstoree examples
Consider illustrative windows of 09:00 for a GiyimDepom connection and 09:30 for Luxstoree. These are not available panel settings or actual supplier recommendations. Reusing the same GiyimDepom connection and 09:00 window yields the same planned key; the Luxstoree connection yields a different key. In the reviewed version, administrators select both connections manually. Automatic intervals require separate development and acceptance.
Measure catalog size, provider limits, actual run duration and inventory risks before choosing frequency.
GiyimDepomLuxstoree09:00 (UTC)09:30 (UTC)planliAnahtar: AplanliAnahtar: B7. Server checks and existing tests
Inspect scheduler heartbeat, task state, last run and failure count in Cron Center. A server administrator may use read-only schedule:list and command listing to verify task inventory, workers and pending jobs. Running schedule:run may trigger unrelated jobs; do not execute it casually for diagnosis. SenkronKosuServisiTest covers duplicate keys, different connections and windows, 64-character keys and no writes on finished-run replay.
SenkronKosuIsiTest covers queue payload and retries. This guide follows source code and existing test expectations; live server cron configuration was not measured.
Related guides
- How to Identify and Manage Failed Synchronizations
- How to Manage Missing Products from Supplier Feeds
- How Do Synchronization Protection Thresholds Work?
- Synchronization Preview vs Apply: What Is the Difference?
- How Does Dropshipping Product Synchronization Work?
- How to Integrate GiyimDepom Dropshipping with IHASHOP
- How to Integrate Luxstoree Dropshipping with IHASHOP
- IHASHOP Dropshipping
Frequently asked questions
Is automatic product synchronization available?
Not in the reviewed version; triggering is manual.
Does Cron Center fetch supplier products automatically?
No automatic product synchronization command was identified.
Does the planned key start automation?
No. It generates a deterministic key only.
Is reconciliation a product sync?
No. It checks financial reconciliation needs.
What if the queue does not run?
Check scheduler and worker health, and verify the previous run before starting Apply.