This article explains why your scheduled imports must use online folders (via SFTP) instead of local mapped drives, and how to get set up.
Manual vs scheduled imports – why they behave differently
When you run a scheduler task manually while logged in to PayGlobal Online:
-
PayGlobal can see the drives mapped to your computer.
-
File paths that start with something like
\\tsclient\X\...work, because they use your remote session’s mapped drives.
However, when the Scheduler runs automatically:
-
It runs under a background service user in the online environment, not in your remote desktop session.
-
That service user is effectively a “virtual” user and cannot see your local or mapped drives.
-
Any path that points to
\\tsclient\...or another local/network drive will fail when the schedule runs automatically, even if it worked when you tested it manually.
Where scheduled imports must read files from
For automatic schedules to work, the files must be placed in a location that the online service user can see:
-
Files cannot be read directly from:
-
Your local PC drives
-
\\tsclient\...paths -
Your internal network shares
-
-
Files must be placed in PayGlobal Online data folders, which are stored in the MYOB online environment.
The usual way to do this is:
-
Upload files via SFTP to a secure online folder, and
-
Configure your Scheduler task to read from that online data folder path (for example an
Importdirectory) instead of a\\tsclient\...path.
Getting set up with SFTP and online data folders
To enable scheduled imports that run under the online service user:
-
Request an SFTP account and folder mapping
Log a new support ticket via the portal and ask for:
-
An SFTP user account for your site.
-
Access to a specific online data folder (for example an
Importsubfolder) where you will upload the files.
-
-
Send files to PayGlobal Online via SFTP
From your system:
-
Connect to the SFTP server, and
-
Upload files into the agreed import folder.
-
-
Update your Scheduler task to use the online path
In your Scheduler task:
-
Replace any
\\tsclient\DriveLetter\...or local/network paths with the online data folder path provided by MYOB. -
Keep the rest of the import settings the same (file name/pattern, command, schedule, etc.).
-
Once this is done, the background Scheduler user will be able to see and import the files reliably.
Quick checklist if your schedule is failing
If a schedule:
-
Works when you run it manually (logged in as yourself), but
-
Fails when it runs automatically at the scheduled time.
check the following:
-
The file path does not start with
\\tsclient\...or point to a local/network drive. -
The file is being uploaded to the online SFTP/data folder.
-
The Scheduler task’s file path matches that online folder path.
If any of these are not true, the schedule will not be able to see the file.
Need this set up?
If you would like this set up for your site:
-
Contact the PayGlobal Support team via the portal and ask for help configuring scheduled imports via SFTP/online data folders.
-
Support can:
-
Raise a ticket with the PayGlobal Online team to create the SFTP account and folder access.
-
Confirm what information is needed (for example, which files you are importing and when they should run).
-
Once this is in place, your scheduled jobs will no longer depend on local mapped drives and will run reliably in the PayGlobal Online environment.