A
Anthony Brian Mallgren
Guest
Is there anyway to output the result of a scheduled task to a file? GoDaddy support is asking for it to be output to a file.
wget <source URL> -P <fully qualified directory path> -O <output filename>
wget https://xxxxx/list.json -P /var/www/vhosts/<domain>/httpdocs/wp-content/uploads/files -O attendee.json
wget https://example.com/list.json -P /httpdocs/wp-content/uploads/files
No, if you are running the scheduled task via Website & domains > Site dashboard > Scheduled Tasks then you don't need to include the full path, because the scheduled task runs from the home directory of the domain (system) user. But you can give it a try of course.May be
wget -O /var/www/vhosts/MY-SITE/httpdocs/wp-content/uploads/files/attendee.json https://REMOTE-SITE/list.json
wget -O httpdocs/wp-content/uploads/files/attendee.json https://example.com/list.json
works, when it test it.Does the list.json file already exist in the httpdocs/wp-content/uploads/files directory?Error :
httpdocs/wp-content/uploads/files/list.json: Permission denied
…