Skip to content

Commit 131dbc1

Browse files
authored
Merge pull request hestiacp#4346 from Anuril/patch-1
Small update to the documentation for cronjobs.
2 parents 11f7ecb + 9b346f3 commit 131dbc1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/docs/user-guide/cron-jobs.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,11 @@ To manage your cron jobs, navigate to the **Cron <i class="fas fa-fw fa-clock"><
2929

3030
1. Hover over the job you want to delete.
3131
2. Click the <i class="fas fa-fw fa-trash"><span class="visually-hidden">delete</span></i> icon on the right of the job’s command.
32+
33+
## Example commands
34+
35+
If you want to run a php script for a user, you can enter the command like this, using the full binary path of the application to run:
36+
37+
```bash
38+
/usr/bin/php8.2 -f /home/user/web/domain.example.com/public_html/cron.php
39+
```

0 commit comments

Comments
 (0)