Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automated PDF-export

Deleted user July 7, 2011

Hello,

how is it possible to implement an automated space export at night??

for information:

I use Version 3.5.4

Thanks a lot

Andy

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Bob Swift (personal)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2011

You can use Confluence Command Line Interface action in a job scheduler or automation script to do something like:

confluence --action exportSpace --space "myspacekey" --file "myspacekey.pdf" --exportType "PDF"

Or you can use the runFromSql action to use a query of the Confluence database to select all or a subset of spaces or use run to run a file of specific space exports.

Example for all global (non personal) spaces:

confluence --action runFromSql --sql "select 'exportSpace' as action, spaceKey as space, 'output/' || spaceKey || '.pdf' as file, 'PDF' as \"exportType\" from spaces where spacetype = 'global'" --host "localhost" --driver "postgresql" --database "confluence-3.4.0"

1 vote
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 7, 2011

Without knowing the specifics, I'd suggest you write...

0 votes
Deleted user July 7, 2011

specifics are only that every space should be separated exported(every week on Friday at 12 pm. for example)

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events