• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved File permission cron job

Matzn

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.43
Hi.

I create a cron job to add some data and files to my CMS with user www-data, because user psacIn was not available. Folder will create, but not a file.

What i can do? Other user, set some permissions or some repair?

By the way...where do the cron logs find?
 
Hi.

I create a cron job to add some data and files to my CMS with user www-data, because user psacIn was not available. Folder will create, but not a file.

What i can do? Other user, set some permissions or some repair?

By the way...where do the cron logs find?
I do plesk repair. Now will not build a folder or files by user www-data.
 
Ok, a little more information:

I want to run a php-script-file by cronjob, that add a folder and a file to a domain structure. But if use root as cron-user will build folders and files as root owner. That do not work with my CMS. I've tested www-data user, but it will not create folder and files.

You already notice that I don't have much idea. What i can do?
 
I'm talking by myself. The solution is to add a cronjob by domain. Unfortunately, shows domain-cronjobs options for each domain only in dynamic view.

1652524698536.jpg
 
I'm talking by myself. The solution is to add a cronjob by domain. Unfortunately, shows domain-cronjobs options for each domain only in dynamic view.

There is a hidden menu which you can open by clicking the icon I've highlighted below. The menu also contains a link to setup cronjobs (and much more).
Schermafbeelding 2022-05-17 om 22.32.16.png
 
Back
Top