Good day dear participants of the forum. I ask for your advice and help.
I set it up according to the instructions YourJobName.php
But I can't figure out what exactly I need to write in YourJobName.php
The file body contains this :
<? php
namespace Esp\Custom\Jobs;
class Your Job Name extends \Espo\Core\Jobs\Base
{
public function run()
{
// all the logic needs to be defined in the method run
}
}
I need to write an automatic import command from a file that is located on the hosting.
When manually importing via CRON, the code is created in the new task. But if you just copy and paste it into YourJobName.php then the magic doesn't happen.
I would be grateful if you could help me sort this out.
I set it up according to the instructions YourJobName.php
But I can't figure out what exactly I need to write in YourJobName.php
The file body contains this :
<? php
namespace Esp\Custom\Jobs;
class Your Job Name extends \Espo\Core\Jobs\Base
{
public function run()
{
// all the logic needs to be defined in the method run
}
}
I need to write an automatic import command from a file that is located on the hosting.
When manually importing via CRON, the code is created in the new task. But if you just copy and paste it into YourJobName.php then the magic doesn't happen.
I would be grateful if you could help me sort this out.
Comment