S
S
skyfly20102016-03-31 20:48:49
Task Schedulers
skyfly2010, 2016-03-31 20:48:49

How to execute cron script with parameters?

Good evening, dear pros! Can you tell me how to pass an instruction to cron to execute a script with $_GET variable?
I add the line to cron: site.ru/scrpt.php?n=1
The script is executed as if scrpt.php i.e. without this variable.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2016-04-01
@skyfly2010

task is unclear.
You give the whole line, and how do you use the variable in scrpt.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question