How could I configure timezone and scheduler?

Hi, currently my suitecrm is configured in xampp. I would like to configure the scheduler but i tried configure in task scheduler from windows and create a bat file with the code - @echo off
cd /D C:\xampp\htdocs\suitecrm
C:\xampp\htdocs\suitecrm\php.exe -f cron.php

But the bat file didnt run.

Thank you if replying me.

Have a nice day.

Best Regards.
Shi Min

Hey,

I haven’t set it up via Windows, so I may not be the best person, but I’ll give it a shot

Have you tried running the .bat file manually?
If so, what were the results? Do you see any activity in the CRM?


Your .bat file’s code seems to point towards the CRM’s path, when looking for “php.exe”

I’d expect the last line in the .bat to be something like C:\xampp\php\php.exe -f cron.php
(Or, pointing to the location of the “php.exe” in your environment)

For your environment, is the /suitecrm/ directory where the “php.exe” can be found?


Additionally, I have found a thread regarding xampp issues

It may be worth having a read through this, to see if anything resolves your issue


Does anything above help?

There is no any result because of the .bat file didn’t run. But when i run cd /D C:\xampp\htdocs\suitecrm
php.exe -f cron.php in cmd, it’s work. So, i do not know whether i am putting the wrong code in .bat file. By the way thx for your help. I will try again.