Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Deployer + Scheduler

Started by Micha 4 years ago · 0 replies · 447 views
4 years ago

Hi there,

deployer is using symlinks from current to the according release. The scheduler however wants the real path (releases/xx) - even tho the error comes on the Scheduler page, if I woul add

TXT
* * * * * cd /var/www/html/current;/usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1

with this

* * * * * cd /var/www/html/releases/24;/usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1

the error in the admin panel disappears

2022-12-03_11-35|690x195

Would it work or do I need to add the real path?

How do you guys handle that?
2022-12-03_11-31|690x247

last edited 12/03/22 by Micha

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 1 week ago
5 195 2 hours ago
General · by lynbor, 6 days ago
2 129 3 days ago
General · by Old Man Umby, 1 week ago
1 103 1 week ago
General · by Sebastian, 2 weeks ago
1 128 2 weeks ago
General · by Andy Miller, 3 weeks ago
0 251 3 weeks ago