Jump to content
Sign in to follow this  
hedata

Windows Task Scheduler

Recommended Posts

Hello everyone,

Hopefully I have the correct sub-forum. I'm attempting to create a Windows Task to open FileMaker Pro 12 Advanced and log into the administrator account. This is to run some scripts on a nightly basis.

I'm struggling to work out how I would get the task to enter the administrator username and password into FileMaker Pro and log itself in. Basic I know, but could anyone offer me some advice or guidance? Should I be using the command prompt for this? I'm running Windows 7 Professional.

Any help would be greatly appreciated!

Stuart

Share this post


Link to post
Share on other sites

Is the file hosted? If not then you are out of luck.

If the file is hosted on FMS then you could use a server-side script schedule to do this which would be safe enough.

Share this post


Link to post
Share on other sites

Unfortunately I'm running a script saves a PDF as a report and then sends it to an email address. This is incompatible with FMS and hence I was wondering whether a Windows Task Schedule would work instead (open FileMaker Pro 12 Advanced, choose the correct database, login, run the startup script and close in 10-15 minutes time.)

Any ideas what I could do? A batch file perhaps?

Share this post


Link to post
Share on other sites

You need a filemaker "opener" (just a regular FM file) file which is setup with automatic login using the admin account, and possibly a start script to target the hosted file correctly.

Use Windows Task scheduler to run the "opener" file.

Share this post


Link to post
Share on other sites

Very interesting idea, thank you for your help! I'll definitely try that - I can see it working well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.