Finding Your system name on Windows while doing cronjob settings on local wamp server.
Finding Your system name on Windows while doing cronjob settings on local wamp server.
Step 1 : go to start
Step 2 : Click to open control panel
Step 3: And then click User accounts
Step 4: You can see your system name
This will helpful while doing cronjob settings on local wamp server. Bcoz windows need to update cronjob settings manually.
[Google Ads Section]
Step 2 : Click to open control panel
Step 3: And then click User accounts
Step 4: You can see your system name
This will helpful while doing cronjob settings on local wamp server. Bcoz windows need to update cronjob settings manually.
[Google Ads Section]
To find your system name on Windows for cron job settings on local WAMP server:
Method 1: Using System Properties
1. Right-click on "Computer" icon or "This PC" and select "Properties".
2. Look for "Computer name, domain, and workgroup settings".
3. Your system name is displayed under "Computer name".
Method 2: Using Command Prompt
1. Press Windows key + R, type cmd, and press Enter.
2. In the Command Prompt, type hostname and press Enter.
3. Your system name will be displayed.
Method 3: Using System Information
1. Press Windows key + R, type msinfo32, and press Enter.
2. In the System Information window, look for "System Name" under "System Summary".
Using System Name in WAMP Cron Job
1. Open WAMP manager.
2. Click on "PHP" > "PHP Settings" > "Cron job settings".
3. In the "Cron job settings" window, enter your system name in the "System/Server name" field.
Alternative: Using localhost
If you're running WAMP on your local machine, you can use localhost instead of your system name.
Cron Job Syntax Example (WAMP)
bash
C:\wamp\bin\php\php5.6.40\php.exe -f C:\wamp\www\your_script.php
Replace C:\wamp\www\your_script.php with your PHP script path.