Skip to content

Commit dc6c523

Browse files
authored
Update cron-jobs.md
Adding example command to clear up some stuff I had to seach through forums.
1 parent 2f4b15a commit dc6c523

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,12 @@ 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+
34+
## Example commands
35+
36+
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:
37+
38+
```
39+
/usr/bin/php8.2 -f /home/user/web/domain.example.com/public_html/cron.php
40+
```

0 commit comments

Comments
 (0)