0
Good afternoon, I created a command in the Laravel to make a cronjob function, the next step would be to edit the cron file with the following command:
crontab -e
Then insert the line: * * * * * php /path/to/Artisan Schedule:run >> /dev/null 2>&1
As it is in the documentation, but when typing the crontab -and the answer I get from the console is:
'crontab' is not recognized as an internal command or external, a operable program or a batch file.
Could someone help?
How can I install crontab?
– let
You are using Linux. Check the documentation of your Linux distribution. Each distro (Red Hat, Debian, Ubuntu) has a different command for this. But you can only install programs when in root mode (superior or administrator).
– dmvianna
I’m using windows as an administrator, I’ve searched some configuration documentation, but nothing..
– let
crontab is a Linux command. Does not exist on Windows.
– dmvianna