Not working for me, when i use the cron i got this message on my email, looks like if he couldn't execute the command and the option
Flarum 1.1.1
Usage:
command [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
completion Dump the shell completion script
help Display help for a command
info Gather information about Flarum's core and installed extensions
list List commands
mcmigrate
migrate Run outstanding migrations
assets
assets:publish Publish core and extension assets.
cache
cache:clear Remove all temporary and generated files
criteria
criteria:recalculate Recalculate criteria groups of all users.
diff
diff:archive If a post's revision count [x] is greater (or equal) than [A],
first [y] can be stored as merged & compressed using this command.
Specify related values from the settings modal.
drafts
drafts:publish Publish all scheduled drafts.
fof
fof:best-answer:notify After a configurable number of days, notifies OP of discussions with no post selected as best answer to select one.
fof:gamification:resync Resync discussion vote counts
fof:polls:refresh Re-calculate the total number of votes per option
fof:sitemap:build Persists sitemap to cache or disk.
lscache
lscache:clear Purge all LsCache.
mercury
mercury:update-check Check your forum for updates.
migrate
migrate:reset Run all migrations down for an extension
schedule
schedule:list List the scheduled commands
schedule:run Run the scheduled commands
X-Powered-By: PHP/7.4.26
Content-type: text/html; charset=UTF-8
The cron job task is this: cd public_html && php flarum mercury:update-check
every time I run the error shown above appears, it's as if he couldn't execute the options and arguments.
it's like I just run the php flarum
And this also happens when I put any arguments, eg cache:clear
, schedule:list
, etc.
Please, someone help me!
I'm usign CPANEL