Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 59534

Denotes a question related to the cron system

1 vote
0 answers
178 views

How to call Admin Backend Controller via cron job in Magento 2

How can I call vendor/magento/module-import-export/Controller/Adminhtml/Import/Validate.php via cron? …
Jens's user avatar
  • 401
1 vote
1 answer
600 views

Cron job permission issue?

/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <group id="default"> <job name="test_product_import" instance="Test\ImportExport\Cron … \ProductImport" method="execute"> <schedule>* * * * *</schedule> </job> </group> </config> Php File that gets called by cron: <? …
Jens's user avatar
  • 401
0 votes
Accepted

Cron job permission issue?

I was able to solve it. $tracelog = fopen("app/code/Test/Trace.txt", "a") or die("Unable to open file!"); I had to specify the absolute path to the file instead of the relative as shown above.
Jens's user avatar
  • 401